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
- defaultToFile: Boolean
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
- pageSize: ExcelPageSize
Size of the page
- margins: Double
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
- pageSize: ExcelPageSize
size of the page
- leftAndRightMargin: Double
The left and right margins of the page in points
- topAndBottomMargin: Double
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
- pageSize: ExcelPageSize
Size of the page
- orientation: PageOrientation?
Orientation of the page
- margin: Double
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
- pageSize: ExcelPageSize
size of the page
- orientation: PageOrientation?
orientation of the page
- leftAndRightMargin: Double
The left and right margins of the page in points
- topAndBottomMargin: Double
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
- xlWorkSheetOptions: ExcelWorksheetConversionOptions
instance of the ExcelWorksheetConversionOptions class
Properties
BottomMargin
manages bottom margin of the page
public Nullable<double> BottomMargin { get; set; }
Public Property BottomMargin As Nullable(Of Double)
Property Value
DefaultToFile
Use default options as per the file settings.
public bool DefaultToFile { get; set; }
Public Property DefaultToFile As Boolean
Property Value
LeftMargin
manages left margin of the page
public Nullable<double> LeftMargin { get; set; }
Public Property LeftMargin As Nullable(Of Double)
Property Value
Orientation
manages orientation of the page
public Nullable<PageOrientation> Orientation { get; set; }
Public Property Orientation As Nullable(Of PageOrientation)
Property Value
PageScaling
manages page scaling
public ExcelPageScaling PageScaling { get; set; }
Public Property PageScaling As ExcelPageScaling
Property Value
PageSize
manages page size
public ExcelPageSize PageSize { get; set; }
Public Property PageSize As ExcelPageSize
Property Value
RightMargin
manages right margin of the page
public Nullable<double> RightMargin { get; set; }
Public Property RightMargin As Nullable(Of Double)
Property Value
TopMargin
manages top margin of the page
public Nullable<double> TopMargin { get; set; }
Public Property TopMargin As Nullable(Of Double)
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 .
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 .