Spread WPF Documentation
GetPageSize Method


GrapeCity.Windows.SpreadSheet.Data Namespace > PaperSize Class : GetPageSize Method
The paper size, of the standard sizes.
Gets the paper size, in hundredths of an inch.
Syntax
'Declaration
 
Public Shared Function GetPageSize( _
   ByVal kind As System.Drawing.Printing.PaperKind _
) As System.Windows.Size
'Usage
 
Dim kind As System.Drawing.Printing.PaperKind
Dim value As System.Windows.Size
 
value = PaperSize.GetPageSize(kind)
public static System.Windows.Size GetPageSize( 
   System.Drawing.Printing.PaperKind kind
)

Parameters

kind
The paper size, of the standard sizes.

Return Value

The width and height of the paper.
See Also

Reference

PaperSize Class
PaperSize Members