Dimensions
Represents the dimensions of a rectangle.
public class Dimensions
Public Class Dimensions
Inheritance: ObjectDimensions
Derived: AutoBodyDimensions, AutoEdgeDimensions, AutoInheritableDimensions, AutoMediaBoxDimensions, InheritableDimensions
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.
Constructors
Dimensions(PageSize, PageOrientation) | Initializes a new instance of the Dimensions structure. |
Dimensions(Single, Single) | Initializes a new instance of the Dimensions structure. |
Dimensions(Single, Single, Single, Single) | Initializes a new instance of the Dimensions structure. |
Properties
Bottom | Gets or sets the bottom edge of the dimensions in points (1/72 inches). |
Height | Gets or sets the height of the dimensions in points (1/72 inches). |
Left | Gets or sets the left edge of the dimensions in points (1/72 inches). |
Right | Gets or sets the right edge of the dimensions in points (1/72 inches). |
Top | Gets or sets the top edge of the dimensions in points (1/72 inches). |
Width | Gets or sets the width of the dimensions in points (1/72 inches). |
Methods
Equals(Object) | Tests equality of Dimensions. |
GetHashCode() | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
ToString() | Returns a String that represents the current Object . (Inherited from Object) |