Skip to main content

Dimensions

Version: 12.0

cete.dynamicpdf.dimensions

Dimensions​

Represents the dimensions of a rectangle.

public class Dimensions
Public Class Dimensions

Inheritance: Object → Dimensions

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:

Constructors​

Dimensions(PageSize, PageOrientation)​

Initializes a new instance of the Dimensions structure.

public Dimensions(PageSize size, PageOrientation orientation)
Public Sub New (size As PageSize, orientation As PageOrientation)

Parameters​

The page size of the dimensions in points (1/72 inches).

The orientation of the dimensions in points (1/72 inches).

Licensing Info​

This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Dimensions(Single, Single)​

Initializes a new instance of the Dimensions structure.

public Dimensions(float width, float height)
Public Sub New (width As Single, height As Single)

Parameters​

The width of the dimensions in points (1/72 inches).

the height of the dimensions in points (1/72 inches).

Licensing Info​

This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Dimensions(Single, Single, Single, Single)​

Initializes a new instance of the Dimensions structure.

public Dimensions(float left, float top, float right, float bottom)
Public Sub New (left As Single, top As Single, right As Single, bottom As Single)

Parameters​

The left edge of the dimensions in points (1/72 inches).

The top edge of the dimensions in points (1/72 inches).

The right edge of the dimensions in points (1/72 inches).

The bottom edge of the dimensions in points (1/72 inches).

Licensing Info​

This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Properties​

Bottom​

Gets or sets the bottom edge of the dimensions in points (1/72 inches).

public float Bottom { get; set; }
Public Property Bottom As Single

Property Value​

Single

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Height​

Gets or sets the height of the dimensions in points (1/72 inches).

public float Height { get; set; }
Public Property Height As Single

Property Value​

Single

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Left​

Gets or sets the left edge of the dimensions in points (1/72 inches).

public float Left { get; set; }
Public Property Left As Single

Property Value​

Single

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Gets or sets the right edge of the dimensions in points (1/72 inches).

public float Right { get; set; }
Public Property Right As Single

Property Value​

Single

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Top​

Gets or sets the top edge of the dimensions in points (1/72 inches).

public float Top { get; set; }
Public Property Top As Single

Property Value​

Single

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Width​

Gets or sets the width of the dimensions in points (1/72 inches).

public float Width { get; set; }
Public Property Width As Single

Property Value​

Single

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Methods​

Equals(Object)​

Tests equality of Dimensions.

public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean

Parameters​

Object to compare to the current Dimension .

Returns​

true if the two dimensions are equal

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

GetHashCode()​

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

public int GetHashCode()
Function GetHashCode() As Integer

Returns​

A hash code for the current Dimensions object.

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

GetType()​

Gets the Type of the current instance. (Inherited from Object)

public Type GetType()
Function GetType() As Type

Returns​

The Type instance that represents the exact runtime type of the current instance.

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

ToString()​

Returns a String that represents the current Object . (Inherited from Object)

public string ToString()
Function ToString() As String

Returns​

A String that represents the current Object .

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

See Also​

ceTe.DynamicPDF