Conversion Options
The following example demonstrates using the ConversionOptions object. The ConversionOptions is the object you will depend on for specifying any options available for that specific conversion. Options such as the output page orientation, page size, margins, unit type and whether to append to a current document can all be handled through ConversionOptions. The HtmlConversionOption object should be used when calling either the ConvertHtmlString or ConvertHtmlStringToWeb method.
Illustrated in the below example is how to set a specific page size and margins for the output PDF as well as specifying to append the conversions together.
ConversionOptions options = new ConversionOptions(720, 720, 72, true);
ceTe.DynamicPDF.Conversion.Converter.Convert(docxFilePath, pdfFilePath, options);
ceTe.DynamicPDF.Conversion.Converter.Convert(docxFilePath, pdfFilePath, options);
Dim options As ConversionOptions = New ConversionOptions(720, 720, 72, True)
ceTe.DynamicPDF.Conversion.Converter.Convert(docxFilePath, pdfFilePath, options)
ceTe.DynamicPDF.Conversion.Converter.Convert(docxFilePath, pdfFilePath, options)