The PaperSize class is used with the TextControl.GetSupportedPaperSizes and WPF.TextControl.GetSupportedPaperSizes methods, which return the names and the sizes of all currently supported paper sizes. These paper sizes depend on the formatting device set with the TextControl.FormattingPrinter or WPF.TextControl.FormattingPrinter property.

Syntax

public class PaperSize
Public Class PaperSize

Introduced: X14.

Properties

Property Description
Height Gets the height of the paper size, in twips.
Name Gets the name of the paper size.
Width Gets the width of the paper size, in twips.