ConversionOptions.Width Property

Gets or sets the width of the page in points.

public double Width { get; set; }

Property Value

Double

Licensing Info

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

Examples

This example shows how to use the width property.
using System;
using ceTe.DynamicPDF.Conversion;

class MyClass
{
    static void Main()
    {
        // create an instance of ConversionOptions class.
        ConversionOptions conversionOptions = new ConversionOptions(true);
        
        //Assign value to width property.
        conversionOptions.Width = 600;

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

See Also

ConversionOptions
ceTe.DynamicPDF.Conversion