ConversionOptions.LeftMargin Property

Gets or sets the left margin of the page in points.

public double LeftMargin { get; set; }
Public Property LeftMargin As Double

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 left margin property.
Imports ceTe.DynamicPDF.Conversion

Module Module1

    Sub Main()

        ' create an instance of ConversionOptions
        Dim conversionOptions As ConversionOptions = New ConversionOptions(True)
        
        'Assign value to left margin property
        conversionOptions.LeftMargin = 10

        ' 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(true);
        
        //Assign value to left margin property.
        conversionOptions.LeftMargin = 10;

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

See Also

ConversionOptions
ceTe.DynamicPDF.Conversion

In this topic