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: X14.

GetSupportedPaperSizes()

public PaperSize[] GetSupportedPaperSizes();
Public Function GetSupportedPaperSizes() As PaperSize()