Skip to main content

ExcelPageSize

Version: 3.0

cete.dynamicpdf.conversion.excelpagesize

ExcelPageSize​

Represents the PageSize for the Excel

public class ExcelPageSize
Public Class ExcelPageSize

Inheritance: Object → ExcelPageSize

Licensing Info​

This class is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:

Examples​

Example shows how to use ExcelPageSize.

Imports ceTe.DynamicPDF.Conversion

Module Module1

Sub Main()

' Create new instance of conversionOptions.
Dim conversionOptions As ExcelConversionOptions = New ExcelConversionOptions(false)
conversionOptions.PageSize = ExcelPageSize.A4;
' Create new instance of Converter by providing suitable parameters.
Dim excelConversion As ExcelConverter = New ExcelConverter("C:\MyDocument.xlsx",conversionOptions)

' Call Convert method to start conversion
excelConversion.Convert("C:\MyOutput.pdf")

End Sub

End Module

using ceTe.DynamicPDF.Conversion;

class MyClass
{
static void Main()
{
//Create new instance of conversionOptions.
ExcelConversionOptions conversionOptions = new ExcelConversionOptions(false);
conversionOptions.PageSize = ExcelPageSize.A4;

// Create new instance of Converter by providing suitable parameters.
ExcelConverter excelConverter = new ExcelConverter(@"C:\MyDocument.xlsx",conversionOptions);

//Call Convert method to start conversion
excelConverter.Convert(@"C:\MyOutput.pdf");
}
}

Properties​

A3​

A3 Page Size

public static ExcelPageSize A3 { get; }
Public Shared Property A3 As ExcelPageSize

Property Value​

ExcelPageSize

Licensing Info​

This property is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:

A4​

A4 Page Size

public static ExcelPageSize A4 { get; }
Public Shared Property A4 As ExcelPageSize

Property Value​

ExcelPageSize

Licensing Info​

This property is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:

A4Small​

A4Small Page Size

public static ExcelPageSize A4Small { get; }
Public Shared Property A4Small As ExcelPageSize

Property Value​

ExcelPageSize

Licensing Info​

This property is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:

A5​

A5 Page Size

public static ExcelPageSize A5 { get; }
Public Shared Property A5 As ExcelPageSize

Property Value​

ExcelPageSize

Licensing Info​

This property is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:

B4​

B4 Page Size

public static ExcelPageSize B4 { get; }
Public Shared Property B4 As ExcelPageSize

Property Value​

ExcelPageSize

Licensing Info​

This property is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:

B5​

B5 Page Size

public static ExcelPageSize B5 { get; }
Public Shared Property B5 As ExcelPageSize

Property Value​

ExcelPageSize

Licensing Info​

This property is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:

Executive​

Executive Page Size

public static ExcelPageSize Executive { get; }
Public Shared Property Executive As ExcelPageSize

Property Value​

ExcelPageSize

Licensing Info​

This property is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:

Folio​

Folio Page Size

public static ExcelPageSize Folio { get; }
Public Shared Property Folio As ExcelPageSize

Property Value​

ExcelPageSize

Licensing Info​

This property is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:

Height​

The height of the page in points.

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

Property Value​

Double

Licensing Info​

This property is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:

Ledger​

Ledger Page Size

public static ExcelPageSize Ledger { get; }
Public Shared Property Ledger As ExcelPageSize

Property Value​

ExcelPageSize

Licensing Info​

This property is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:

Legal Page Size

public static ExcelPageSize Legal { get; }
Public Shared Property Legal As ExcelPageSize

Property Value​

ExcelPageSize

Licensing Info​

This property is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:

Letter​

Letter Page Size

public static ExcelPageSize Letter { get; }
Public Shared Property Letter As ExcelPageSize

Property Value​

ExcelPageSize

Licensing Info​

This property is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:

LetterSmall​

LetterSmall Page Size

public static ExcelPageSize LetterSmall { get; }
Public Shared Property LetterSmall As ExcelPageSize

Property Value​

ExcelPageSize

Licensing Info​

This property is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:

Quarto​

Quarto Page Size

public static ExcelPageSize Quarto { get; }
Public Shared Property Quarto As ExcelPageSize

Property Value​

ExcelPageSize

Licensing Info​

This property is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:

Statement​

Statement Page Size

public static ExcelPageSize Statement { get; }
Public Shared Property Statement As ExcelPageSize

Property Value​

ExcelPageSize

Licensing Info​

This property is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:

Tabloid​

Tabloid Page Size

public static ExcelPageSize Tabloid { get; }
Public Shared Property Tabloid As ExcelPageSize

Property Value​

ExcelPageSize

Licensing Info​

This property is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:

Width​

The width of the page in points.

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

Property Value​

Double

Licensing Info​

This property is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:

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.

Licensing Info​

This method is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:

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 .

Licensing Info​

This method is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:

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.

Licensing Info​

This method is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:

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 .

Licensing Info​

This method is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:

See Also​

ceTe.DynamicPDF.Conversion