ConversionOptions Constructors

Overloads

ConversionOptions(Double, Double, [Optional] Double)Initializes a new instance of the ConversionOptions class.
ConversionOptions(Double, Double, Double, Double)Initializes a new instance of the ConversionOptions class.
ConversionOptions([Optional] PageSize, [Optional] PageOrientation, [Optional] Double)Initializes a new instance of the ConversionOptions class.
ConversionOptions(PageSize, PageOrientation, Double, Double)Initializes a new instance of the ConversionOptions class.

ConversionOptions(Double, Double, [Optional] Double)

Initializes a new instance of the ConversionOptions class.

public ConversionOptions(double width, double height, [double margins = 36])
Public Sub New (width As Double, height As Double, Optional margins As Double = 36)

Parameters

width
Double

Width of the page in points

height
Double

Height of hte page in points

margins
Double

Margins of the page in points

ConversionOptions(Double, Double, Double, Double)

Initializes a new instance of the ConversionOptions class.

public ConversionOptions(double width, double height, double leftAndRightMargins, double topAndBottomMargins)
Public Sub New (width As Double, height As Double, leftAndRightMargins As Double, topAndBottomMargins As Double)

Parameters

width
Double

Width of the page in points

height
Double

Height of hte page in points

leftAndRightMargins
Double

Left and right margins of the page in points

topAndBottomMargins
Double

Top and bottom margins of the page in points

ConversionOptions([Optional] PageSize, [Optional] PageOrientation, [Optional] Double)

Initializes a new instance of the ConversionOptions class.

public ConversionOptions([PageSize size = Letter], [PageOrientation orientation = Portrait], [double margins = 36])
Public Sub New (Optional size As PageSize = Letter, Optional orientation As PageOrientation = Portrait, Optional margins As Double = 36)

Parameters

size
PageSize

Size of the page

orientation
PageOrientation

Orientation of the page

margins
Double

Margins of the page in points

ConversionOptions(PageSize, PageOrientation, Double, Double)

Initializes a new instance of the ConversionOptions class.

public ConversionOptions(PageSize size, PageOrientation orientation, double leftAndRightMargins, double topAndBottomMargins)
Public Sub New (size As PageSize, orientation As PageOrientation, leftAndRightMargins As Double, topAndBottomMargins As Double)

Parameters

size
PageSize

Size of the page

orientation
PageOrientation

Orientation of the page.

leftAndRightMargins
Double

The left and right margins of the page in points.

topAndBottomMargins
Double

The top and bottom margins of the page in points.

See Also

ConversionOptions
ceTe.DynamicPDF.HtmlConverter

In this topic