Skip to main content

ExcelWorksheetConversionOptions

Version: 2.0

cete.dynamicpdf.conversion.excelworksheetconversionoptions

ExcelWorksheetConversionOptions​

  • Namespace: ceTe.DynamicPDF.Conversion
  • Assemblies: DynamicPDF.Converter.NETFramework40.dll, DynamicPDF.Converter.NETStandard20.dll

Defines properties and methods that are needed for a Excel Workseet Conversion

public class ExcelWorksheetConversionOptions : ISerializable
Public Class ExcelWorksheetConversionOptions
Implements ISerializable

Inheritance: Object → ExcelWorksheetConversionOptions

Implements: ISerializable

Remarks​

This class is Serialized

Constructors​

ExcelWorksheetConversionOptions(Boolean)​

Initializes a new instance of the ExcelWorksheetConversionOptions class

public ExcelWorksheetConversionOptions(bool defaultToFile)
Public Sub New (defaultToFile As Boolean)

Parameters​

ExcelWorksheetConversionOptions(ExcelPageSize, Double)​

Initializes a new instance of the ExcelWorksheetConversionOptions class

public ExcelWorksheetConversionOptions(ExcelPageSize pageSize, double margins)
Public Sub New (pageSize As ExcelPageSize, margins As Double)

Parameters​

Size of the page

margins given in points

ExcelWorksheetConversionOptions(ExcelPageSize, Double, Double)​

Initializes a new instance of the ExcelWorksheetConversionOptions class.

public ExcelWorksheetConversionOptions(ExcelPageSize pageSize, double leftAndRightMargin, double topAndBottomMargin)
Public Sub New (pageSize As ExcelPageSize, leftAndRightMargin As Double, topAndBottomMargin As Double)

Parameters​

size of the page

The left and right margins of the page in points

The top and bottom margins of the page in points

ExcelWorksheetConversionOptions(ExcelPageSize, PageOrientation?, Double)​

Initializes a new instance of the ExcelWorksheetConversionOptions class.

public ExcelWorksheetConversionOptions(ExcelPageSize pageSize, PageOrientation? orientation, double margin)
Public Sub New (pageSize As ExcelPageSize, orientation As PageOrientation?, margin As Double)

Parameters​

Size of the page

Orientation of the page

Margin of the page in points

ExcelWorksheetConversionOptions(ExcelPageSize, PageOrientation?, Double, Double)​

Initializes a new instance of the ExcelWorksheetConversionOptions class.

public ExcelWorksheetConversionOptions(ExcelPageSize pageSize, PageOrientation? orientation, double leftAndRightMargin, double topAndBottomMargin)
Public Sub New (pageSize As ExcelPageSize, orientation As PageOrientation?, leftAndRightMargin As Double, topAndBottomMargin As Double)

Parameters​

size of the page

orientation of the page

The left and right margins of the page in points

The top and bottom margins of the page in points

ExcelWorksheetConversionOptions(ExcelWorksheetConversionOptions)​

Initializes a new instance of the ExcelWorksheetConversionOptions class

public ExcelWorksheetConversionOptions(ExcelWorksheetConversionOptions xlWorkSheetOptions)
Public Sub New (xlWorkSheetOptions As ExcelWorksheetConversionOptions)

Parameters​

instance of the ExcelWorksheetConversionOptions class

Properties​

BottomMargin​

manages bottom margin of the page

public Nullable&ltdouble> BottomMargin { get; set; }
Public Property BottomMargin As Nullable(Of Double)

Property Value​

Nullable&ltdouble>

DefaultToFile​

Use default options as per the file settings.

public bool DefaultToFile { get; set; }
Public Property DefaultToFile As Boolean

Property Value​

Boolean

LeftMargin​

manages left margin of the page

public Nullable&ltdouble> LeftMargin { get; set; }
Public Property LeftMargin As Nullable(Of Double)

Property Value​

Nullable&ltdouble>

Orientation​

manages orientation of the page

public Nullable&ltPageOrientation> Orientation { get; set; }
Public Property Orientation As Nullable(Of PageOrientation)

Property Value​

Nullable&ltPageOrientation>

PageScaling​

manages page scaling

public ExcelPageScaling PageScaling { get; set; }
Public Property PageScaling As ExcelPageScaling

Property Value​

ExcelPageScaling

PageSize​

manages page size

public ExcelPageSize PageSize { get; set; }
Public Property PageSize As ExcelPageSize

Property Value​

ExcelPageSize

RightMargin​

manages right margin of the page

public Nullable&ltdouble> RightMargin { get; set; }
Public Property RightMargin As Nullable(Of Double)

Property Value​

Nullable&ltdouble>

TopMargin​

manages top margin of the page

public Nullable&ltdouble> TopMargin { get; set; }
Public Property TopMargin As Nullable(Of Double)

Property Value​

Nullable&ltdouble>

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 .

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.Conversion