PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview Namespace / C1PageSettings Class / GetCurrentLocaleDefaultPaperSize Method
OUT: The width of the default paper.
OUT: The height of the default paper.
OUT: The width of default margins.
OUT: Unit of measurement used to express the sizes (width, height and margin).

In This Topic
    GetCurrentLocaleDefaultPaperSize Method
    In This Topic
    Retrieves the locale-specific default paper size for the current locale.
    Syntax
    'Declaration
     
    Public Shared Sub GetCurrentLocaleDefaultPaperSize( _
       ByRef width As Double, _
       ByRef height As Double, _
       ByRef margin As Double, _
       ByRef units As UnitTypeEnum _
    ) 
    public static void GetCurrentLocaleDefaultPaperSize( 
       out double width,
       out double height,
       out double margin,
       out UnitTypeEnum units
    )

    Parameters

    width
    OUT: The width of the default paper.
    height
    OUT: The height of the default paper.
    margin
    OUT: The width of default margins.
    units
    OUT: Unit of measurement used to express the sizes (width, height and margin).
    See Also