TX Text Control ActiveX

PageImage Property

Property

Returns an image of the specified page which can be used with the Picture property of a Form object, PictureBox control or Image control.

Introduced: 16.0.

Syntax

TXTextControl.PageImage Number, Content

Parameters

ParameterDescription
NumberSpecifies the page's number. The first page has the number 1.
ContentSpecifies the image's contents. Possible values are listed in Constants. These values can be combined.

Constants

Valid values for the Content parameter are:

ConstantDescription
pcBackground (1)The image contains the background of the page.
pcHeadersAndFooters (2)The image contains the header and the footer of the page.
pcMainText (4)The image contains the page's text contents.
pcAll (7)The image contains all parts.

Data Types

NameData type
NumberLong
ContentInteger
Property valuePicture object

Limitations

Read only, run time only.

See Also