cete.dynamicpdf.inheritabledimensions
InheritableDimensions
- Namespace: ceTe.DynamicPDF
- Assemblies: DynamicPDF.CoreSuite.dll
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
- size: PageSize
The page size of the dimensions in points (1/72 inches).
- orientation: PageOrientation
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
- width: Single
The width of the dimensions in points (1/72 inches).
- height: Single
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
- left: Single
The left edge of the dimensions in points (1/72 inches).
- top: Single
The top edge of the dimensions in points (1/72 inches).
- right: Single
The right edge of the dimensions in points (1/72 inches).
- bottom: Single
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
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
Inherit
Gets or sets the inherits the dimensions.
public bool Inherit { get; set; }
Public Property Inherit As Boolean
Property Value
InheritsFrom
Gets the inherits from the dimensions.
public Dimensions InheritsFrom { get; }
Public Property InheritsFrom As Dimensions
Property Value
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
Right
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
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
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
Methods
Equals(Object)
Tests equality of Dimensions. (Inherited from Dimensions)
public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean
Parameters
- obj: Object
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 .