BCL easyPDF SDK
easyPDF SDK Usermanual
PDF Creator Programming API  |  Download Free Trial  |  Contact Us to Purchase

RevisionMode Property

Determines the revision mode used when converting Word documents to PDF.

Type:

prnRevisionMode

Remarks

This property only applies when IncludeDocumentMarkups is set to True.

The default selection is PRN_DEFAULT_REVISION, meaning the current revision mode that is set inside Word will be used.

Specify PRN_INLINE_REVISION to use inline/strikethrough revision mode, and use PRN_BALLOON_REVISION to choose balloon revision mode.

Example Usage in VBScript

Set oPrinter = CreateObject("easyPDF.Printer.8")
Set oPrintJob = oPrinter.WordPrintJobEx
oPrintJob.IncludeDocumentMarkups = True
oPrintJob.RevisionMode = PRN_BALLOON_REVISION
oPrintJob.PrintOut "C:\test\input.doc", "C:\test\output.pdf"

Example Usage in VB.NET

Dim oPrinter As Printer = CreateObject("easyPDF.Printer.8")
Dim oPrintJob As WordPrintJobEx = oPrinter.WordPrintJobEx
oPrintJob.IncludeDocumentMarkups = True
oPrintJob.RevisionMode = prnRevisionMode.PRN_BALLOON_REVISION
oPrintJob.PrintOut "C:\test\input.doc", "C:\test\output.pdf"

Example Usage in C#

Printer oPrinter = new Printer();
WordPrintJobEx oPrintJob = oPrinter.WordPrintJobEx;
oPrintJob.IncludeDocumentMarkups = true;
oPrintJob.RevisionMode = prnRevisionMode.PRN_BALLOON_REVISION;
oPrintJob.PrintOut(@"C:\test\input.doc", @"C:\test\output.pdf");