PageImage 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
| Parameter | Description |
|---|---|
| Number | Specifies the page's number. The first page has the number 1. |
| Content | Specifies the image's contents. Possible values are listed in Constants. These values can be combined. |
Constants
Valid values for the Content parameter are:
| Constant | Description |
|---|---|
| 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
| Name | Data type |
|---|---|
| Number | Long |
| Content | Integer |
| Property value | Picture object |
Limitations
Read only, run time only.