Gets a part of a document as an image.

GetImage()

public System.Drawing.Imaging.Bitmap GetImage()
Public Function GetImage() As System.Drawing.Imaging.Bitmap

GetImage(System.Drawing.Rectangle)

public System.Drawing.Imaging.Bitmap GetImage(System.Drawing.Rectangle clipRectangle)
Public Function GetImage(ByVal clipRectangle As System.Drawing.Rectangle) As System.Drawing.Imaging.Bitmap

GetImage(Out)

public bool GetImage(out byte[] arImage)
Public Function GetImage(ByRef arImage As Byte()) As Boolean

GetImage(Out, System.Drawing.Rectangle)

public bool GetImage(out byte[] arImage, System.Drawing.Rectangle clipRectangle)
Public Function GetImage(ByRef arImage As Byte(), ByVal clipRectangle As System.Drawing.Rectangle) As Boolean

GetImage(Rectangle, Int, Int, Int)

public string GetImage(Rectangle clipRectangle, int iFirstInvalidLine, int iLastInvalidLine, int iMaxImageResolution)
Public Function GetImage(ByVal clipRectangle As Rectangle, ByVal iFirstInvalidLine As Integer, ByVal iLastInvalidLine As Integer, 
ByVal iMaxImageResolution As Integer) As String

Parameters

Parameter Description
arImage Specifies a byte array into which the data is saved. No memory needs to be allocated through the caller.
clipRectangle Specifies the clipping, in pixels, relative to the top-left corner of the image, determined through the View.Location and View.Size properties.
iFirstInvalidLine Specifies the first of a range of lines, one-based, determining the returned image. If this parameter in 0, the clipRectangle determines the image.
iLastInvalidLine Specifies the last of a range of lines, one-based, determining the returned image. If this parameter in 0, the clipRectangle determines the image.
iMaxImageResolution Specifies a maximum resolution value, in dots per inch, for images in pixel-formats. All of these images are embedded in Portable Network Graphics (PNG) format.