TXTextControl.ServerTextControl.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 ServerTextControl.FormattingPrinter property. The method returns null, if the ServerTextControl has not been completely initialized.

Introduced: 24.0.

Syntax

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

See Also