AutoPageDimensions

Represents the dimensions of a page.

public class AutoPageDimensions : PageDimensions
Public Class AutoPageDimensions
    Inherits PageDimensions

Inheritance: ObjectAreaDimensionsPageDimensionsAutoPageDimensions

Licensing Info

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

Remarks

This class can be used to specify the dimensions and other formatting details of a page. It can then be passed into a Page constructor.

Constructors

AutoPageDimensions(PageSize)Initializes a new instance of the AutoPageDimensions class.
AutoPageDimensions(PageSize, PageOrientation)Initializes a new instance of the AutoPageDimensions class.
AutoPageDimensions(PageSize, PageOrientation, Single)Initializes a new instance of the AutoPageDimensions class.
AutoPageDimensions(PageSize, Single)Initializes a new instance of the AutoPageDimensions class.
AutoPageDimensions(Single, Single)Initializes a new instance of the AutoPageDimensions class.
AutoPageDimensions(Single, Single, Single)Initializes a new instance of the AutoPageDimensions class.

Properties

ArtBoxGets the art box dimensions of the page in points (1/72 inches).
BleedBoxGets the bleed box dimensions of the page in points (1/72 inches).
BodyRepresents the dimensions of the areas body.
(Inherited from AreaDimensions)
BottomMarginGets or sets the bottom margin of the page dimensions in points (1/72 inches).
(Inherited from AreaDimensions)
CropBoxGets the crop box dimensions of the page in points (1/72 inches).
EdgeRepresents the dimensions of the areas edge.
(Inherited from AreaDimensions)
HeightGets or sets the height of the page dimensions in points (1/72 inches).
LeftMarginGets or sets the left margin of the page dimensions in points (1/72 inches).
(Inherited from AreaDimensions)
MediaBoxGets the media box dimensions of the page in points (1/72 inches).
RightMarginGets or sets the right margin of the page dimensions in points (1/72 inches).
(Inherited from AreaDimensions)
TopMarginGets or sets the top margin of the page dimensions in points (1/72 inches).
(Inherited from AreaDimensions)
TrimBoxGets the trim box dimensions of the page in points (1/72 inches).
WidthGets or sets the width of the page dimensions in points (1/72 inches).

Methods

Draw(DocumentWriter)Draws the page dimensions to the given DocumentWriter object.
Equals(Object)Determines whether the specified Object is equal to the current Object .
(Inherited from Object)
GetHashCode()Serves as a hash function for a particular type.
(Inherited from Object)
GetPdfX(Single)Gets the translated X coordinate.
GetPdfX(Single, RelativeTo, Boolean)Gets the translated X coordinate.
GetPdfY(Single)Gets the translated Y coordinate.
GetPdfY(Single, RelativeTo, Boolean)Gets the translated Y coordinate.
GetType()Gets the Type of the current instance.
(Inherited from Object)
SetMargins(Single)Sets all of the margins for the page dimensions in points (1/72 inches).
(Inherited from PageDimensions)
SetMargins(Single, Single)Sets all of the margins of the page in points (1/72 inches).
(Inherited from PageDimensions)
SetMargins(Single, Single, Single, Single)Sets all of the margins of the page in points (1/72 inches).
(Inherited from PageDimensions)
ToString()Returns a String that represents the current Object .
(Inherited from Object)

See Also

ceTe.DynamicPDF

In this topic