TXTextControl.Page.GetImage Method

Gets an image of the page's contents.

Introduced: 15.0.

GetImage(PageContent)

Gets an image of the page's contents as an enhanced metafile.

[C#]
public System.Drawing.Imaging.Metafile GetImage(PageContent contents)
[Visual Basic]
Public Function GetImage(ByVal Contents As PageContent) As System.Drawing.Imaging.Metafile
Parameter Description
contents

Specifies the image's contents. It can be one or more of the values of the PageContent enumeration.

GetImage(Int32, PageContent)

Gets an image of the page's contents as a bitmap in screen resolution.

[C#]
public System.Drawing.Imaging.Bitmap GetImage(int zoomFactor, PageContent contents)
[Visual Basic]
Public Function GetImage(ByVal ZoomFactor As Integer, ByVal Contents As PageContent) As System.Drawing.Imaging.Bitmap
Parameter Description
zoomFactor

Specifies a zooming factor in percent. It can be a value between 10 and 400 percent.

contents

Specifies the image's contents. It can be one or more of the values of the PageContent enumeration.

See Also