cete.dynamicpdf.conversion.excelconversionoptions
ExcelConversionOptions
- Namespace: ceTe.DynamicPDF.Conversion
- Assemblies: DynamicPDF.Converter.NETFramework40.dll, DynamicPDF.Converter.NETStandard20.dll
Defines properies and methods that are neeeded for Excel conversions.
public class ExcelConversionOptions : ConversionOptions, ISerializable
Public Class ExcelConversionOptions
Inherits ConversionOptions
Implements ISerializable
Inheritance: Object → ConversionOptions → ExcelConversionOptions
Implements: ISerializable
Constructors
ExcelConversionOptions(Boolean)
Initializes a new instance of the ExcelConversionOptions class.
public ExcelConversionOptions(bool appendToPdf)
Public Sub New (appendToPdf As Boolean)
Parameters
- appendToPdf: Boolean
Specify if append option to be enabled
ExcelConversionOptions(ExcelPageSize, Double)
Initializes a new instance of the ExcelConversionOptions class.
public ExcelConversionOptions(ExcelPageSize pageSize, double margins)
Public Sub New (pageSize As ExcelPageSize, margins As Double)
Parameters
- pageSize: ExcelPageSize
Excel page size in points
- margins: Double
Margins of the page in points
ExcelConversionOptions(ExcelPageSize, Double, Boolean)
Initializes a new instance of the ExcelConversionOptions class.
public ExcelConversionOptions(ExcelPageSize pageSize, double margins, bool appendToPdf)
Public Sub New (pageSize As ExcelPageSize, margins As Double, appendToPdf As Boolean)
Parameters
- pageSize: ExcelPageSize
Excel page size in points.
- margins: Double
Margins of the page in points.
- appendToPdf: Boolean
Specify if append option to be enabled
ExcelConversionOptions(ExcelPageSize, Double, Double)
Initializes a new instance of the ExcelConversionOptions class.
public ExcelConversionOptions(ExcelPageSize pageSize, double leftAndRightMargin, double topAndBottomMargin)
Public Sub New (pageSize As ExcelPageSize, leftAndRightMargin As Double, topAndBottomMargin As Double)
Parameters
- pageSize: ExcelPageSize
Excel page size in points.
- leftAndRightMargin: Double
Left and right margins of the page in points.
- topAndBottomMargin: Double
Top and bottom margins of the page in points.
ExcelConversionOptions(ExcelPageSize, PageOrientation, Double)
Initializes a new instance of the ExcelConversionOptions class.
public ExcelConversionOptions(ExcelPageSize pageSize, PageOrientation orientation, double margins)
Public Sub New (pageSize As ExcelPageSize, orientation As PageOrientation, margins As Double)
Parameters
- pageSize: ExcelPageSize
Excel page size in points.
- orientation: PageOrientation
Orientation of the page.
- margins: Double
Margins of the page in points.
ExcelConversionOptions(ExcelPageSize, PageOrientation, Double, Double)
Initializes a new instance of the ExcelConversionOptions class.
public ExcelConversionOptions(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
Excel page size in points.
- orientation: PageOrientation
Orientation of the page.
- leftAndRightMargin: Double
Left and right margins of the page in points.
- topAndBottomMargin: Double
Top and bottom margins of the page in points.
ExcelConversionOptions(ExcelPageSize, PageOrientation, Double, Double, Boolean)
Initializes a new instance of the ExcelConversionOptions class.
public ExcelConversionOptions(ExcelPageSize pageSize, PageOrientation orientation, double leftAndRightMargin, double topAndBottomMargin, bool appendToPdf)
Public Sub New (pageSize As ExcelPageSize, orientation As PageOrientation, leftAndRightMargin As Double, topAndBottomMargin As Double, appendToPdf As Boolean)
Parameters
- pageSize: ExcelPageSize
Excel page size in points.
- orientation: PageOrientation
Orientation of the page.
- leftAndRightMargin: Double
Left and right margins of the page in points.
- topAndBottomMargin: Double
Top and bottom margins of the page in points.
- appendToPdf: Boolean
Specify if append option to be enabled
Properties
AppendToPdf
Gets or sets the boolean value to specify if append to pdf option to be enabled. (Inherited from ConversionOptions)
public bool AppendToPdf { get; set; }
Public Property AppendToPdf As Boolean
Property Value
Author
Gets or sets the author meta data for the converted PDF. (Inherited from ConversionOptions)
public string Author { get; set; }
Public Property Author As String
Property Value
BottomMargin
Gets or sets the bottom margin of the page. (Inherited from ConversionOptions)
public double BottomMargin { get; set; }
Public Property BottomMargin As Double
Property Value
Creator
Gets or sets the creator meta data for the converted PDF. (Inherited from ConversionOptions)
public string Creator { get; set; }
Public Property Creator As String
Property Value
Height
Gets or sets the height of the page in points.
public double Height { get; }
Public Property Height As Double
Property Value
Keywords
Gets or sets the keywords meta data for the converted PDF. (Inherited from ConversionOptions)
public string Keywords { get; set; }
Public Property Keywords As String
Property Value
LeftMargin
Gets or sets the left margin of the page in points. (Inherited from ConversionOptions)
public double LeftMargin { get; set; }
Public Property LeftMargin As Double
Property Value
Orientation
Gets or sets orientation for the page.
public Nullable<PageOrientation> Orientation { get; set; }
Public Property Orientation As Nullable(Of PageOrientation)
Property Value
PageRange
Gets the page range.
public PageRange PageRange { get; }
Public Property PageRange As PageRange
Property Value
PageScaling
Gets or sets the Excel page scaling.
public ExcelPageScaling PageScaling { get; set; }
Public Property PageScaling As ExcelPageScaling
Property Value
PageSize
Determines the Excel page size. Helps to retrieve or set the Excel page size.
public ExcelPageSize PageSize { get; set; }
Public Property PageSize As ExcelPageSize
Property Value
PaperKind
Gets the paper kind for the PageSize properties.
public PaperKind PaperKind { get; }
Public Property PaperKind As PaperKind
Property Value
Producer
Gets or sets the producer meta data for the converted PDF. (Inherited from ConversionOptions)
public string Producer { get; set; }
Public Property Producer As String
Property Value
RightMargin
Gets or sets the right margin of the page in points. (Inherited from ConversionOptions)
public double RightMargin { get; set; }
Public Property RightMargin As Double
Property Value
Subject
Gets or sets the subject meta data for the converted PDF. (Inherited from ConversionOptions)
public string Subject { get; set; }
Public Property Subject As String
Property Value
Title
Gets or sets the title meta data for the converted PDF. (Inherited from ConversionOptions)
public string Title { get; set; }
Public Property Title As String
Property Value
TopMargin
Gets or sets the top margin of the page in points. (Inherited from ConversionOptions)
public double TopMargin { get; set; }
Public Property TopMargin As Double
Property Value
Width
Gets or sets the width of the page in points.
public double Width { get; }
Public Property Width As 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 .
GetObjectData(SerializationInfo, StreamingContext)
Used for serialization of the object. (Inherited from ConversionOptions)
public void GetObjectData(SerializationInfo info, StreamingContext context)
Sub GetObjectData(info As SerializationInfo, context As StreamingContext)
Parameters
-
info: SerializationInfo
-
context: StreamingContext
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 .