TXTextControl.TextControl.GetSupportedPaperSizes Method

Gets an array of PaperSize structures specifying the names and the size of all currently supported paper sizes. These paper sizes depend on the formatting device set with the TextControl.FormattingPrinter property. The method returns null, if the TextControl has not been completely initialized.

Introduced: 24.0.

Syntax

[C#]
public PaperSize[] GetSupportedPaperSizes();
[Visual Basic]
Public Function GetSupportedPaperSizes() As PaperSize()

See Also