Skip to main content

AreaDimensions

Version: 6.0

cete.dynamicpdf.areadimensions

AreaDimensions​

Base class representing teh dimensions of an area.

public abstract class AreaDimensions
Public MustInherit Class AreaDimensions

Inheritance: Object → AreaDimensions

Derived: ExtendedPageDimensions, PageDimensions

Licensing​

This class is a DynamicPDF Generator Professional Edition feature. One of the following licenses is required for non-evaluation usage:

  • DynamicPDF Generator for .NET Professional Edition
  • DynamicPDF Generator for .NET Enterprise Edition
  • DynamicPDF Merger for .NET Professional Edition
  • DynamicPDF Merger for .NET Enterprise Edition
  • DynamicPDF ReportWriter for .NET Professional Edition
  • DynamicPDF ReportWriter for .NET Enterprise Edition
  • DynamicPDF Core Suite for .NET Professional Edition
  • DynamicPDF Core Suite for .NET Enterprise Edition

Properties​

Body​

Represents the dimensions of the areas body.

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

Property Value​

Dimensions

BottomMargin​

Gets or sets the bottom margin of the page dimensions.

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

Property Value​

Single

Edge​

Represents the dimensions of the areas edge.

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

Property Value​

Dimensions

Height​

Gets or sets the height of the page dimensions.

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

Property Value​

Single

LeftMargin​

Gets or sets the left margin of the page dimensions.

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

Property Value​

Single

RightMargin​

Gets or sets the right margin of the page dimensions.

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

Property Value​

Single

TopMargin​

Gets or sets the top margin of the page dimensions.

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

Property Value​

Single

Width​

Gets or sets the width of the page dimensions.

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

Property Value​

Single

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​

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)​

Returns the translated X coordinate.

public float GetPdfX(float x)
Function GetPdfX(x As Single) As Single

Parameters​

X coordinate to translate.

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 coordinate to translate.

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 .

See Also​

ceTe.DynamicPDF