API Reference
Struct
PageSize
Represents a page size in points.
Inheritance
- ValueType
- PageSize
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method PageSize.FromCentimeters
- Method PageSize.FromInches
- Method PageSize.Landscape
- Method PageSize.Portrait
- Method PageSize.WithOrientation
- Method PageSizes.Get
- Property PageSizes.A0
- Property PageSizes.A1
- Property PageSizes.A10
- Property PageSizes.A2
- Property PageSizes.A3
- Property PageSizes.A4
- Property PageSizes.A5
- Property PageSizes.A6
- Property PageSizes.A7
- Property PageSizes.A8
- Property PageSizes.A9
- Property PageSizes.B0
- Property PageSizes.B1
- Property PageSizes.B10
- Property PageSizes.B2
- Property PageSizes.B3
- Property PageSizes.B4
- Property PageSizes.B5
- Property PageSizes.B6
- Property PageSizes.B7
- Property PageSizes.B8
- Property PageSizes.B9
- Property PageSizes.Executive
- Property PageSizes.Ledger
- Property PageSizes.LedgerOrTabloid
- Property PageSizes.Legal
- Property PageSizes.Letter
- Property PageSizes.Tabloid
- Property PdfOptions.PageSize
- Property PdfPageInfo.Size
- Property PdfPageResizeOptions.PageSize
Accepted by parameters
- Method PageSizes.TryGet
- Method PdfDocument.Size
- Method PdfDocumentPages.Resize
- Method PdfPageCompose.Size
- Constructor PdfPageResizeOptions.PdfPageResizeOptions
Constructors
public PageSize(Double width, Double height) #Creates a new page size.
Parameters
- width System.Double
- height System.Double
Methods
public static PageSize FromCentimeters(Double width, Double height) #Returns:
PageSizeCreates a page size from dimensions in centimeters.
Parameters
- width System.Double
- height System.Double
public static PageSize FromInches(Double width, Double height) #Returns:
PageSizeCreates a page size from dimensions in inches.
Parameters
- width System.Double
- height System.Double
public PageSize WithOrientation(PdfPageOrientation orientation) #Returns:
PageSizeReturns this size in the requested orientation.
Parameters
- orientation OfficeIMO.Pdf.PdfPageOrientation