HtmlConversionOptions

Defines properties and methods that are needed for a Html Conversion

public class HtmlConversionOptions : ConversionOptions
Public Class HtmlConversionOptions
    Inherits ConversionOptions

Inheritance: ObjectConversionOptionsHtmlConversionOptions

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 HtmlConversionOptions.
Imports ceTe.DynamicPDF.Conversion

Module Module1

Sub Main()

    ' create new instance of HtmlConversionOptions.
    Dim conversionOptions As HtmlConversionOptions = New HtmlConversionOptions(True)
        
   ' Create new instance of Converter by providing suitable parameters.
    Dim htmlConversion As HtmlConverter = New HtmlConverter("C:\MyDocument.html",conversionOptions)

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

End Sub
 
End Module
using ceTe.DynamicPDF.Conversion;

class MyClass
{
    static void Main()
    {
        // create new instance of HtmlConversionOptions.
        HtmlConversionOptions conversionOptions = new HtmlConversionOptions(true);
        
        // Create new instance of Converter by providing suitable parameters.
        HtmlConverter htmlConversion = new HtmlConverter(@"C:\MyDocument.html", conversionOptions);

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

Constructors

HtmlConversionOptions([Optional] Boolean)Initializes a new instance of the HtmlConversionOptions class.
HtmlConversionOptions(Double, Double, Double)Initializes a new instance of the HtmlConversionOptions class.
HtmlConversionOptions(Double, Double, Double, Double)Initializes a new instance of the HtmlConversionOptions class.
HtmlConversionOptions(Double, Double, Double, Double, [Optional] Boolean)Initializes a new instance of the HtmlConversionOptions class.
HtmlConversionOptions(PageSize, PageOrientation, Double)Initializes a new instance of the HtmlConversionOptions class.
HtmlConversionOptions(PageSize, PageOrientation, Double, Double, [Optional] Boolean)Initializes a new instance of the HtmlConversionOptions 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)
CreatorGets or sets the creator meta data for the converted PDF.
(Inherited from ConversionOptions)
DefaultConversionTimeoutGets or sets a default timeout value (in Milliseconds) for completion of the entire conversion. The task will be cancelled when the timeout occurs before CancelToken .
HeightGets or sets the height of the page in points.
(Inherited from ConversionOptions)
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)
PaperKindGets or sets paper kind for the pages properties.
(Inherited from ConversionOptions)
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.
(Inherited from ConversionOptions)
ZoomDetermines the magnification level for the HTML.

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