AutoPageDimensions
Represents the dimensions of a page.
public class AutoPageDimensions : PageDimensions
Public Class AutoPageDimensions
Inherits PageDimensions
Inheritance: ObjectAreaDimensionsPageDimensionsAutoPageDimensions
Licensing Info
This class is a DynamicPDF Core Suite Essentials feature. One of the following is required for non-evaluation usage:
- Any active DynamicPDF Subscription (Essentials, Professional, Professional Plus or Ultimate).
- A DynamicPDF Core Suite for .NET v12.X Essentials license.
- It can also be used for free with a public link back to www.dynamicpdf.com and with the DynamicPDF Essentials message displaying on the bottom of each page.
Remarks
This class can be used to specify the dimensions and other formatting details of a page. It can then be passed into a Page constructor.
Constructors
AutoPageDimensions(PageSize) | Initializes a new instance of the AutoPageDimensions class. |
AutoPageDimensions(PageSize, PageOrientation) | Initializes a new instance of the AutoPageDimensions class. |
AutoPageDimensions(PageSize, PageOrientation, Single) | Initializes a new instance of the AutoPageDimensions class. |
AutoPageDimensions(PageSize, Single) | Initializes a new instance of the AutoPageDimensions class. |
AutoPageDimensions(Single, Single) | Initializes a new instance of the AutoPageDimensions class. |
AutoPageDimensions(Single, Single, Single) | Initializes a new instance of the AutoPageDimensions class. |
Properties
ArtBox | Gets the art box dimensions of the page in points (1/72 inches). |
BleedBox | Gets the bleed box dimensions of the page in points (1/72 inches). |
Body | Represents the dimensions of the areas body. (Inherited from AreaDimensions) |
BottomMargin | Gets or sets the bottom margin of the page dimensions in points (1/72 inches). (Inherited from AreaDimensions) |
CropBox | Gets the crop box dimensions of the page in points (1/72 inches). |
Edge | Represents the dimensions of the areas edge. (Inherited from AreaDimensions) |
Height | Gets or sets the height of the page dimensions in points (1/72 inches). |
LeftMargin | Gets or sets the left margin of the page dimensions in points (1/72 inches). (Inherited from AreaDimensions) |
MediaBox | Gets the media box dimensions of the page in points (1/72 inches). |
RightMargin | Gets or sets the right margin of the page dimensions in points (1/72 inches). (Inherited from AreaDimensions) |
TopMargin | Gets or sets the top margin of the page dimensions in points (1/72 inches). (Inherited from AreaDimensions) |
TrimBox | Gets the trim box dimensions of the page in points (1/72 inches). |
Width | Gets or sets the width of the page dimensions in points (1/72 inches). |
Methods
Draw(DocumentWriter) | Draws the page dimensions to the given DocumentWriter object. |
Equals(Object) | Determines whether the specified Object is equal to the current Object . (Inherited from Object) |
GetHashCode() | Serves as a hash function for a particular type. (Inherited from Object) |
GetPdfX(Single) | Gets the translated X coordinate. |
GetPdfX(Single, RelativeTo, Boolean) | Gets the translated X coordinate. |
GetPdfY(Single) | Gets the translated Y coordinate. |
GetPdfY(Single, RelativeTo, Boolean) | Gets the translated Y coordinate. |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
SetMargins(Single) | Sets all of the margins for the page dimensions in points (1/72 inches). (Inherited from PageDimensions) |
SetMargins(Single, Single) | Sets all of the margins of the page in points (1/72 inches). (Inherited from PageDimensions) |
SetMargins(Single, Single, Single, Single) | Sets all of the margins of the page in points (1/72 inches). (Inherited from PageDimensions) |
ToString() | Returns a String that represents the current Object . (Inherited from Object) |