ExcelPageSize

Represents the PageSize for the Excel

public class ExcelPageSize
Public Class ExcelPageSize

Inheritance: ObjectExcelPageSize

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

A3A3 Page Size
A4A4 Page Size
A4SmallA4Small Page Size
A5A5 Page Size
B4B4 Page Size
B5B5 Page Size
ExecutiveExecutive Page Size
FolioFolio Page Size
HeightThe height of the page in points.
LedgerLedger Page Size
LegalLegal Page Size
LetterLetter Page Size
LetterSmallLetterSmall Page Size
QuartoQuarto Page Size
StatementStatement Page Size
TabloidTabloid Page Size
WidthThe width of the page in points.

Methods

Equals(Object)Determines whether the specified Object is equal to the current Object .
(Inherited from Object)
GetHashCode()Serves as a hash function for a particular type.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
ToString()Returns a String that represents the current Object .
(Inherited from Object)

See Also

ceTe.DynamicPDF.Conversion

In this topic