PdfSize Struct
A size in user space units: 1/72 inch unless a page sets /UserUnit.
public readonly struct PdfSize : IEquatable<PdfSize>- Implements
Constructors
| Name | Description |
|---|---|
| PdfSize(double, double) | Initializes a new instance of the PdfSize struct. |
PdfSize(double, double)
PdfSize.csProperties
| Name | Description |
|---|---|
| A3 | Gets the ISO 216 A3 size, 297 x 420 mm. |
| A4 | Gets the ISO 216 A4 size, 210 x 297 mm. |
| A5 | Gets the ISO 216 A5 size, 148 x 210 mm. |
| Height | Gets the height. |
| Legal | Gets the US Legal size, 8.5 x 14 inches. |
| Letter | Gets the US Letter size, 8.5 x 11 inches. |
| Width | Gets the width. |
Height
PdfSize.csLegal
PdfSize.csLetter
PdfSize.csWidth
PdfSize.csMethods
| Name | Description |
|---|---|
| Equals(PdfSize) | Indicates whether the current object is equal to another object of the same type. |
| Equals(object?) | Indicates whether this instance and a specified object are equal. |
| FromMillimeters(double, double) | Creates a size from millimeters. |
| GetHashCode() | Returns the hash code for this instance. |
| ToLandscape() | Gets the same size in landscape orientation: the greater dimension is the width. |
| ToString() | Returns the fully qualified type name of this instance. |
FromMillimeters(double, double)
PdfSize.csGetHashCode()
PdfSize.csToLandscape()
PdfSize.csToString()
PdfSize.csOperators
| Name | Description |
|---|---|
| operator ==(PdfSize, PdfSize) | Indicates whether two sizes are equal. |
| operator !=(PdfSize, PdfSize) | Indicates whether two sizes are different. |