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

IncludeDocProps Property

Determines whether document properties from the source are included in the PDF.

Type:

Boolean

Remarks

This property is False by default. Set it to True to include document properties from the source document in the PDF.

Note that this property is overridden if other metadata has been specified by setting the PDFSetting object's MetaData property is set to True.

Example Usage in VBScript

Set oPrinter = CreateObject("easyPDF.Printer.8")
Set oPrintJob = oPrinter.VisioPrintJobEx
oPrintJob.IncludeDocProps = True
oPrintJob.PrintOut "C:\test\input.vsd", "C:\test\output.pdf"

Example Usage in VB.NET

Dim oPrinter As Printer = CreateObject("easyPDF.Printer.8")
Dim oPrintJob As VisioPrintJobEx = oPrinter.VisioPrintJobEx
oPrintJob.IncludeDocProps = True
oPrintJob.PrintOut "C:\test\input.vsd", "C:\test\output.pdf"

Example Usage in C#

Printer oPrinter = new Printer();
VisioPrintJobEx oPrintJob = oPrinter.VisioPrintJobEx;
oPrintJob.IncludeDocProps = true;
oPrintJob.PrintOut(@"C:\test\input.vsd", @"C:\test\output.pdf");