TXTextControl.PageSize Constructor

Creates a new instance of the PageSize class. The measure for the width and height parameters depends on the TextControl.PageUnit, WPF.TextControl.PageUnit or ServerTextControl.PageUnit property.

PageSize()

Creates a new PageSize object representing an US Letter page size (8.5 x 11 inch).

[C#]
public PageSize();
[Visual Basic]
Public Sub New()

PageSize(Double, Double)

Creates a new PageSize object representing a page size with the specified width and height. The measure for the width and height parameters depends on the TextControl.PageUnit, WPF.TextControl.PageUnit or ServerTextControl.PageUnit property.

[C#]
public PageSize(double width, double height);
[Visual Basic]
Public Sub New(ByVal width As Double, ByVal height As Double)
Parameter Description
width

Specifies the width of the page.

height

Specifies the height of the page.

See Also