ConversionOptions

Defines properties and methods for conversion options.

public class ConversionOptions
Public Class ConversionOptions

Inheritance: ObjectConversionOptions

Derived: ExcelConversionOptions, HtmlConversionOptions, ImageConversionOptions, PowerPointConversionOptions, RtfConversionOptions, TextConversionOptions, TiffConversionOptions, VisioConversionOptions, WordConversionOptions

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 add conversion options.
Imports ceTe.DynamicPDF.Conversion

Module Module1

    Sub Main()

        ' create an instance of ConversionOptions
        Dim conversionOptions As ConversionOptions = New ConversionOptions(PageSize.Letter, PageOrientation.Portrait, 75)

        ' Call convert method to do conversion.
        Converter.Convert("C:\MyDocument.doc", "C:\MyOutput.pdf", conversionOptions)

    End Sub

End Module
using System;
using ceTe.DynamicPDF.Conversion;

class MyClass
{
    static void Main()
    {
        // create an instance of ConversionOptions class.
        ConversionOptions conversionOptions = new ConversionOptions(PageSize.Letter, PageOrientation.Portrait, 75f);

        // Call convert method to do conversion.
        Converter.Convert(@"C:\MyDocument.doc", @"C:\MyOutput.pdf", conversionOptions);        
    }      
}

Constructors

ConversionOptions([Optional] Boolean)Initializes a new instance of the ConversionOptions class.
ConversionOptions(Double, Double, Double)Initializes a new instance of the ConversionOptions class.
ConversionOptions(Double, Double, Double, [Optional] Boolean)Initializes a new instance of the ConversionOptions class.
ConversionOptions(Double, Double, Double, Double)Initializes a new instance of the ConversionOptions class.
ConversionOptions(Double, Double, Double, Double, [Optional] Boolean)Initializes a new instance of the ConversionOptions class.
ConversionOptions(PageSize, PageOrientation, Double)Initializes a new instance of the ConversionOptions class.
ConversionOptions(PageSize, PageOrientation, Double, Double, [Optional] Boolean)Initializes a new instance of the ConversionOptions class.

Properties

AppendToPdfGets or sets the boolean value to specify if append to pdf conversionOptions to be enabled.
AuthorGets or sets the author meta data for the converted PDF.
BottomMarginGets or sets the bottom margin of the page.
CancelTokenGets or sets a CancellationToken for conversion task.
CreatorGets or sets the creator meta data for the converted PDF.
HeightGets or sets the height of the page in points.
KeywordsGets or sets the keywords meta data for the converted PDF.
LeftMarginGets or sets the left margin of the page in points.
LoggingGets or sets the Temporary directory path.
PaperKindGets or sets paper kind for the pages properties.
ProducerGets or sets the producer meta data for the converted PDF.
RightMarginGets or sets the right margin of the page in points.
SubjectGets or sets the subject meta data for the converted PDF.
TemporaryDirectoryGets or sets the Temporary directory path.
TitleGets or sets the title meta data for the converted PDF.
TopMarginGets or sets the top margin of the page in points.
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