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()

public PageSize();
Public Sub New()

PageSize(Double, Double)

public PageSize(double width, double height);
Public Sub New(ByVal width As Double, ByVal height As Double)

Parameters

Parameter Description
width Specifies the width of the page.
height Specifies the height of the page.