Determines whether automatic page size adjustment is enabled. The default value is False.
A value of True means that easyPDF ensures that no content gets
cropped. If needed, it automatically adjusts the paper size,
depending on the layout. If ContentOrientation is
PRN_CONTENT_ORIENT_HORIZONTAL, the width of the paper may be
increased. If ContentOrientation is PRN_CONTENT_ORIENT_VERTICAL,
the height of the page may be increased. The paper size will never
get smaller than what you specify.
A value of False means that the specified paper size is firm. It is
possible that the content is too wide, which means part of it could
be cropped. This is similar to the situation when your browser
requires a horizontal scroll bar, except there are no scroll bars
in printing.
'VB Sample Code
Set oPrinter = CreateObject("easyPDF.Printer.5")
Set oPrintJob = oPrinter.IEExtendedPrintJob
oPrintJob.PageWidth = 8.5
oPrintJob.PageHeight = 11.0
oPrintJob.AutoAdjustPaperSize = True
oPrintJob.PrintOut "C:\input.htm", "C:\output.pdf"
//C# Sample Code
PrinterClass printerObj = new PrinterClass();
IEExtendedPrintJob printJobObj = printerObj.IEExtendedPrintJob;
printJobObj.PageWidth = 8.5;
printJobObj.PageHeight = 11.0;
printJobObj.AutoAdjustPaperSize = false;
printJobObj.PrintOut("http://www.pdfonline.com/", "C:\\output.pdf");