Returns the default paper size. If default printer presents in the system then returns its default paper size, otherwise returns size based on the current locale (see GetCurrentLocaleDefaultPaperSize() for details).

Namespace:  C1.C1PrintDocument.Util
Assembly:  C1.C1PrintDocument.Classic.2 (in C1.C1PrintDocument.Classic.2.dll)

Syntax

C#
public static PaperSize GetDefaultPaperSize()
Visual Basic (Declaration)
Public Shared Function GetDefaultPaperSize As PaperSize

Return Value

See Also