Sets the page height (the vertical dimension of the paper).
Double (inches)
If this property is not set, the LayoutPaperSize
setting is used from PrinterSetting. It is
strongly recommended to use PageWidth and PageHeight instead.
LayoutPaperSize is a global system-wide setting, while PageWidth
and PageHeight apply to the current document only, therefore they
work well in a multi-threaded environment.
'VB Sample Code Set oPrinter = CreateObject("easyPDF.Printer.6") Set oPrintJob = oPrinter.IEExtendedPrintJob oPrintJob.MarginLeft = 1.0 oPrintJob.MarginRight = 1.0 oPrintJob.PageWidth = 8.5 oPrintJob.Height = 11.0 oPrintJob.PrintOut "C:\input.htm", "C:\output.pdf" //C# Sample Code PrinterClass printerObj = new PrinterClass(); IEExtendedPrintJob printJobObj = printerObj.IEExtendedPrintJob; printJobObj.MarginLeft = 0.75; printJobObj.MarginRight = 0.75; printJobObj.PageWidth = 8.5; printJobObj.PageWidth = 11.0; printJobObj.PrintOut("http://www.pdfonline.com/", "C:\\output.pdf");