cete.dynamicpdf.areadimensions
AreaDimensions
- Namespace: ceTe.DynamicPDF
- Assemblies: DynamicPDF.CoreSuite.dll
Base class representing the dimensions of an area.
public abstract class AreaDimensions
Public MustInherit Class AreaDimensions
Inheritance: Object → AreaDimensions
Derived: AutoPageDimensions, ExtendedPageDimensions, PageDimensions
Properties
Body
Represents the dimensions of the areas body.
public Dimensions Body { get; }
Public Property Body As Dimensions
Property Value
BottomMargin
Gets or sets the bottom margin of the page dimensions in points (1/72 inches).
public float BottomMargin { get; set; }
Public Property BottomMargin As Single
Property Value
Edge
Represents the dimensions of the areas edge.
public Dimensions Edge { get; }
Public Property Edge As Dimensions
Property Value
Height
Gets or sets the height of the page dimensions in points (1/72 inches).
public float Height { get; set; }
Public Property Height As Single
Property Value
LeftMargin
Gets or sets the left margin of the page dimensions in points (1/72 inches).
public float LeftMargin { get; set; }
Public Property LeftMargin As Single
Property Value
RightMargin
Gets or sets the right margin of the page dimensions in points (1/72 inches).
public float RightMargin { get; set; }
Public Property RightMargin As Single
Property Value
TopMargin
Gets or sets the top margin of the page dimensions in points (1/72 inches).
public float TopMargin { get; set; }
Public Property TopMargin As Single
Property Value
Width
Gets or sets the width of the page dimensions in points (1/72 inches).
public float Width { get; set; }
Public Property Width As Single
Property Value
Methods
Equals(Object)
Determines whether the specified Object is equal to the current Object . (Inherited from Object)
public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean
Parameters
- obj: Object
The Object to compare with the current Object .
Returns
true if the specified Object is equal to the current Object ; otherwise, false.
GetHashCode()
Serves as a hash function for a particular type. (Inherited from Object)
public int GetHashCode()
Function GetHashCode() As Integer
Returns
A hash code for the current Object .
GetPdfX(Single)
Gets the translated X coordinate.
public float GetPdfX(float x)
Function GetPdfX(x As Single) As Single
Parameters
- x: Single
X coordinate to translate.
Returns
A translated X coordinate.
GetPdfX(Single, RelativeTo, Boolean)
Gets the translated X coordinate.
public float GetPdfX(float x, RelativeTo relativeTo, bool ignoreMargins)
Function GetPdfX(x As Single, relativeTo As RelativeTo, ignoreMargins As Boolean) As Single
Parameters
- x: Single
X coordinate to translate.
-
relativeTo: RelativeTo
-
ignoreMargins: Boolean
Returns
A translated X coordinate.
GetPdfY(Single)
Gets the translated Y coordinate.
public float GetPdfY(float y)
Function GetPdfY(y As Single) As Single
Parameters
- y: Single
Y coordinate to translate.
Returns
A translated Y coordinate.
GetPdfY(Single, RelativeTo, Boolean)
Gets the translated Y coordinate.
public float GetPdfY(float y, RelativeTo relativeTo, bool ignoreMargins)
Function GetPdfY(y As Single, relativeTo As RelativeTo, ignoreMargins As Boolean) As Single
Parameters
- y: Single
Y coordinate to translate.
-
relativeTo: RelativeTo
-
ignoreMargins: Boolean
Returns
A translated Y coordinate.
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 .