XFINIUM.PDF Documentation
PdfPageSize Constructor



Xfinium.Pdf Namespace > PdfPageSize Class : PdfPageSize Constructor
The name of the predefined page size.
Initial width in PDF points
Initial height in PDF points
Initializes a new PdfPageSize object with the specified size.
Syntax
'Declaration
 
Public Function New( _
   ByVal name As String, _
   ByVal width As Double, _
   ByVal height As Double _
)
'Usage
 
Dim name As String
Dim width As Double
Dim height As Double
 
Dim instance As New PdfPageSize(name, width, height)
public PdfPageSize( 
   string name,
   double width,
   double height
)
public:
PdfPageSize( 
   String^ name,
   double width,
   double height
)

Parameters

name
The name of the predefined page size.
width
Initial width in PDF points
height
Initial height in PDF points
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfPageSize Class
PdfPageSize Members