ConversionOptions.RightMargin Property
Gets or sets the right margin of the page in points.
public double RightMargin { get; set; }
Public Property RightMargin As Double
Property Value
Licensing Info
This property is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Converter selected.
- A DynamicPDF Converter for .NET v3.X Developer license.
Examples
This example shows how to use the right 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 right margin property
conversionOptions.RightMargin = 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 right margin property.
conversionOptions.RightMargin = 10;
// Call convert method to do conversion.
Converter.Convert(@"C:\MyDocument.doc", @"C:\MyOutput.pdf", conversionOptions);
}
}