Spread WPF Documentation
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.
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

PaperSize Class
PaperSize Members

 

 


Copyright © GrapeCity, inc. All rights reserved.