TX Text Control .NET for Windows Forms Documentation

Page.GetImage Method

Gets an image of the page's contents. The image is either an enhanced metafile or a bitmap in screen resolution.

Introduced: 15.0.

Syntax

[C#] public System.Drawing.Imaging.Metafile GetImage(PageContent contents) public System.Drawing.Imaging.Bitmap GetImage(int zoomFactor, PageContent contents)
[Visual Basic] Public Function GetImage(ByVal Contents As PageContent) As System.Drawing.Imaging.Metafile Public Function GetImage(ByVal ZoomFactor As Integer, ByVal Contents As PageContent) As System.Drawing.Imaging.Bitmap
ParameterDescription
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 following values:


ValueMeaning
AllThe image contains all parts.
BackgroundThe image contains the background of the page.
HeadersAndFootersThe image contains the header and the footer of the page.
MainTextThe image contains the page's text contents.

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now