ExcelConversionOptions

Defines properies and methods that are neeeded for Excel conversions.

public class ExcelConversionOptions : ConversionOptions
Public Class ExcelConversionOptions
    Inherits ConversionOptions

Inheritance: ObjectConversionOptionsExcelConversionOptions

Licensing Info

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

Examples

This example shows how to use ExcelConversionOptions constructor.
Imports ceTe.DynamicPDF.Conversion

Module Module1

Sub Main()

    ' create new instance of ExcelConversionOption.
    Dim conversionOptions As ExcelConversionOptions = New ExcelConversionOptions(True)
    
   ' 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 ExcelConversionOption.
        ExcelConversionOptions conversionOptions=new ExcelConversionOptions(true);

        // 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");
    }
}

Constructors

ExcelConversionOptions([Optional] Boolean)Defines properies and methods that are neeeded for Excel conversions.
ExcelConversionOptions(ExcelPageSize, Double)Initializes a new instance of the ExcelConversionOptions class.
ExcelConversionOptions(ExcelPageSize, Double, [Optional] Boolean)Initializes a new instance of the ExcelConversionOptions class.
ExcelConversionOptions(ExcelPageSize, Double, Double)Initializes a new instance of the ExcelConversionOptions class.
ExcelConversionOptions(ExcelPageSize, PageOrientation, Double)Initializes a new instance of the ExcelConversionOptions class.
ExcelConversionOptions(ExcelPageSize, PageOrientation, Double, Double)Initializes a new instance of the ExcelConversionOptions class.
ExcelConversionOptions(ExcelPageSize, PageOrientation, Double, Double, [Optional] Boolean)Initializes a new instance of the ExcelConversionOptions class.

Properties

AppendToPdfGets or sets the boolean value to specify if append to pdf conversionOptions to be enabled.
(Inherited from ConversionOptions)
AuthorGets or sets the author meta data for the converted PDF.
(Inherited from ConversionOptions)
BottomMarginGets or sets the bottom margin of the page.
(Inherited from ConversionOptions)
CancelTokenGets or sets a CancellationToken for conversion task.
(Inherited from ConversionOptions)
ConvertSheetsGets or sets ConvertSheets value for the ExcelWorkBook.
CreatorGets or sets the creator meta data for the converted PDF.
(Inherited from ConversionOptions)
HeightGets or sets the height of the page in points.
IgnorePrintAreasGets or sets IgnorePrintAreas value for the page.
KeywordsGets or sets the keywords meta data for the converted PDF.
(Inherited from ConversionOptions)
LeftMarginGets or sets the left margin of the page in points.
(Inherited from ConversionOptions)
OrientationGets or sets orientation for the page.
PageRangeGets the page range.
PageScalingGets or sets the Excel page scaling.
PageSizeDetermines the Excel page size. Helps to retrieve or set the Excel page size.
PaperKindGets the paper kind for the PageSize properties.
ProducerGets or sets the producer meta data for the converted PDF.
(Inherited from ConversionOptions)
RightMarginGets or sets the right margin of the page in points.
(Inherited from ConversionOptions)
SubjectGets or sets the subject meta data for the converted PDF.
(Inherited from ConversionOptions)
TitleGets or sets the title meta data for the converted PDF.
(Inherited from ConversionOptions)
TopMarginGets or sets the top margin of the page in points.
(Inherited from ConversionOptions)
WidthGets or sets the 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