Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.UI Namespace / UIHelper Class / GetPaperSize Method
Source paper size
An integer value indicates the current DPI.


In This Topic
    GetPaperSize Method
    In This Topic
    Get the paper size
    Syntax
    'Declaration
     
    
    Public Shared Function GetPaperSize( _
       ByVal paperSize As PaperSize, _
       Optional ByVal dpi As Integer _
    ) As Size
    'Usage
     
    
    Dim paperSize As PaperSize
    Dim dpi As Integer
    Dim value As Size
     
    value = UIHelper.GetPaperSize(paperSize, dpi)
    public static Size GetPaperSize( 
       PaperSize paperSize,
       int dpi
    )

    Parameters

    paperSize
    Source paper size
    dpi
    An integer value indicates the current DPI.
    See Also