TX Text Control ActiveX

PageWidth Property

Property

Returns or sets the width of the page for the whole document or for a document's section. The SectionCurrent property determines the part of the document. The property returns -1, if more than one section is specified through the SectionCurrent property and these sections' pages have a different width.

Syntax

TXTextControl.PageWidth [= value]

Data Types

Long.

Examples

See PrintPage method example.

Remarks

The width of the actual printed area is PageWidth minus PageMarginL minus PageMarginR. The maximum value depends on the capabilities of the selected printer and must not exceed 32767 twips.

See Also