TextConversionOptions.PrintPageNumbers Property

Specify if page numbers needs to be printed

public bool PrintPageNumbers { get; set; }
Public Property PrintPageNumbers As Boolean

Property Value

Boolean

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

Module Module1

Sub Main()

    ' create new instance of TextConversionOptions.
    Dim conversionOptions As TextConversionOptions = New TextConversionOptions(True)
    conversionOptions.PrintPageNumbers=True
    
   ' Create new instance of Converter by providing suitable parameters.
    Dim textConversion As TextConverter = New TextConverter(File.ReadAllText("C:\MyDocument.txt",conversionOptions)

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

End Sub
 
End Module
using ceTe.DynamicPDF.Conversion;

class MyClass
{
    static void Main()
    {
        // create new instance of TextConversionOptions.
        TextConversionOptions conversionOptions=new TextConversionOptions(true);
        conversionOptions.PrintPageNumbers=true;
        
        // Create new instance of Converter by providing suitable parameters.
        TextConverter text = new TextConverter(File.ReadAllText(@"C:\MyDocument.txt",conversionOptions);
        
        //Call Convert method to start conversion
        text.Convert(@"C:\MyOutput.pdf");
    }
}

See Also

TextConversionOptions
ceTe.DynamicPDF.Conversion

In this topic