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

OptimizeForScreen Property

This property determines whether the PDF is optimized for the screen or for printing.

Type:

Boolean

Remarks

When this property is False (the default), the PDF is optimized for printing.

When this property is True, the PDF is optimized for the screen.

Example Usage in VBScript

Set oPrinter = CreateObject("easyPDF.Printer.8")
Set oPrintJob = oPrinter.VisioPrintJobEx
oPrintJob.OptimizeForScreen = 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.OptimizeForScreen = True
oPrintJob.PrintOut "C:\test\input.vsd", "C:\test\output.pdf"

Example Usage in C#

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