ConversionOptions.Subject Property

Gets or sets the subject meta data for the converted PDF.

public string Subject { get; set; }
Public Property Subject As String

Property Value

String

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

Module Module1

    Sub Main()

        ' create an instance of ConversionOptions
         Dim conversionOptions As ConversionOptions = New ConversionOptions(PageSize.A4, PageOrientation.Portrait, 10)
        
        ' Assign value to subject property.
        conversionOptions.Subject = "Word document conversion to pdf."

        ' 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(PageSize.A4, PageOrientation.Portrait, 10);
        
        //Assign value to Subject property.
        conversionOptions.Subject = "Word document conversion to pdf.";

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

See Also

ConversionOptions
ceTe.DynamicPDF.Conversion

In this topic