PageSize Enum

Specifies page size.

public enum PageSize
Public Enum PageSize

Inheritance: ObjectValueTypeEnumPageSize

Fields

PageSize.A30A3 page size.
PageSize.A41A4 page size.
PageSize.A52A5 page size.
PageSize.A63A6 page size.
PageSize.B34B3 page size.
PageSize.B45B4 page size.
PageSize.B56B5 page size.
PageSize.B5JIS7B5 Japanese page size.
PageSize.DoublePostcard8Double postcard page size.
PageSize.Envelope109Envelope 10 page size.
PageSize.EnvelopeB512B5 envelope page size.
PageSize.EnvelopeC511C5 envelope page size.
PageSize.EnvelopeDL10DL envelope page size.
PageSize.EnvelopeMonarch13Monarch envelope page size.
PageSize.Executive14Executive page size.
PageSize.Folio16Folio page size.
PageSize.Legal15Legal page size.
PageSize.Letter17Letter page size.
PageSize.Postcard18Postcard page size.
PageSize.PRC16K19PRC 16K page size.
PageSize.PRC32K20PRC 32K page size.
PageSize.Quatro21Quatro page size.
PageSize.Statement22Statement page size.
PageSize.Tabloid23Tabloid page size.

Licensing Info

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

Examples

This example shows how to use PageSize property.
Imports ceTe.DynamicPDF.Conversion

Module Module1

Sub Main()

    ' create new instance of ExcelConversionOptions.
    Dim conversionOptions As ExcelConversionOptions = New ExcelConversionOptions(ExcelPageSize.A4,PageOrientation.Portrait,10,10)
    
    ' 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 ExcelConversionOptions.
        ExcelConversionOptions conversionOptions=new ExcelConversionOptions(ExcelPageSize.A4,PageOrientation.Portrait,10);
       

        // Create new instance of Converter by providing suitable parameters.
        ExcelConverter excel = new ExcelConverter(@"C:\MyDocument.xlsx",conversionOptions);
        
        //Call Convert method to start conversion
        excel.Convert(@"C:\MyOutput.pdf");
    }
}

See Also

ceTe.DynamicPDF.Conversion

In this topic