Skip to main content

ExcelConversionOptions

Version: 2.0

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​

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​

Excel page size in points

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​

Excel page size in points.

Margins of the page in points.

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​

Excel page size in points.

Left and right margins of the page in points.

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​

Excel page size in points.

Orientation of the page.

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​

Excel page size in points.

Orientation of the page.

Left and right margins of the page in points.

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​

Excel page size in points.

Orientation of the page.

Left and right margins of the page in points.

Top and bottom margins of the page in points.

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​

Boolean

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​

String

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​

Double

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​

String

Height​

Gets or sets the height of the page in points.

public double Height { get; }
Public Property Height As Double

Property Value​

Double

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​

String

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​

Double

Orientation​

Gets or sets orientation for the page.

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

Property Value​

Nullable&ltPageOrientation>

PageRange​

Gets the page range.

public PageRange PageRange { get; }
Public Property PageRange As PageRange

Property Value​

PageRange

PageScaling​

Gets or sets the Excel page scaling.

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

Property Value​

ExcelPageScaling

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​

ExcelPageSize

PaperKind​

Gets the paper kind for the PageSize properties.

public PaperKind PaperKind { get; }
Public Property PaperKind As PaperKind

Property Value​

PaperKind

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​

String

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​

Double

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​

String

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​

String

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​

Double

Width​

Gets or sets the width of the page in points.

public double Width { get; }
Public Property Width As Double

Property Value​

Double

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 .

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​

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