Skip to main content

InheritableDimensions

Version: 11.0

cete.dynamicpdf.inheritabledimensions

InheritableDimensions​

Represents the dimensions of a rectangle.

public class InheritableDimensions : Dimensions
Public Class InheritableDimensions
Inherits Dimensions

Inheritance: Object → Dimensions → InheritableDimensions

Derived: AutoInheritableDimensions

Constructors​

InheritableDimensions(PageSize, PageOrientation)​

Initializes a new instance of the InheritableDimensions structure.

public InheritableDimensions(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).

InheritableDimensions(Single, Single)​

Initializes a new instance of the InheritableDimensions structure.

public InheritableDimensions(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).

InheritableDimensions(Single, Single, Single, Single)​

Initializes a new instance of the InheritableDimensions structure.

public InheritableDimensions(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).

Properties​

Bottom​

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

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

Property Value​

Single

Height​

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

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

Property Value​

Single

Inherit​

Gets or sets the inherits the dimensions.

public bool Inherit { get; set; }
Public Property Inherit As Boolean

Property Value​

Boolean

InheritsFrom​

Gets the inherits from the dimensions.

public Dimensions InheritsFrom { get; }
Public Property InheritsFrom As Dimensions

Property Value​

Dimensions

Left​

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

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

Property Value​

Single

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

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

Property Value​

Single

Top​

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

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

Property Value​

Single

Width​

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

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

Property Value​

Single

Methods​

Equals(Object)​

Tests equality of Dimensions. (Inherited from 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

GetHashCode()​

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

public int GetHashCode()
Function GetHashCode() As Integer

Returns​

A hash code for the current Dimensions object.

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.

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 .

See Also​

ceTe.DynamicPDF