Gets a part of a document as an image.

GetImage()

public System.Drawing.Imaging.Bitmap GetImage()

GetImage(System.Drawing.Rectangle)

public System.Drawing.Imaging.Bitmap GetImage(System.Drawing.Rectangle clipRectangle)

GetImage(Out)

public bool GetImage(out byte[] arImage)

GetImage(Out, System.Drawing.Rectangle)

public bool GetImage(out byte[] arImage, System.Drawing.Rectangle clipRectangle)

GetImage(Rectangle, Int, Int, Int)

public string GetImage(Rectangle clipRectangle, int iFirstInvalidLine, int iLastInvalidLine, int iMaxImageResolution)

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.