TXTextControl.PageSize.Width Property

Specifies the page width of a document or document section. The measure depends on the TextControl.PageUnit, WPF.TextControl.PageUnit or ServerTextControl.PageUnit property.

Syntax

[C#]
public double Width { get; set; }
[Visual Basic]
Public Property Width() As Double

Remarks

The width's default value is 8.5 inch.

The property returns its default value when the text selection contains multiple sections with mixed page widths. The Selection.IsCommonValueSelected method can be used to check for mixed attributes.

Limitations

The maximum value depends on the capabilities of the selected printer and must not exceed 22.75 inch.

See Also