FitToPagesWide Property

Sets number of pages wide the worksheet will be scaled to.

Type

Long (write-only)

Remarks

This property is ignored if the Zoom property is set to True.

Note: To set the value back to default after making modification, specify a value less than 0.

Example Usage

Set oPrinter = CreateObject("easyPDF.Printer.6")
 
Set oPrintJob = oPrinter.ExcelPrintJob
oPrintJob.FitToPagesWide = 1
oPrintJob.PrintOut "C:\input.xls", "C:\output.pdf"

 

 

<<