Sets the content orientation. Default value: PRN_CONTENT_ORIENT_HORIZONTAL.
prnContentOrientation (write-only)
PRN_CONTENT_ORIENT_HORIZONTAL means that the content is
horizontal, as appears on the screen in a web browser.
PRN_CONTENT_ORIENT_VERTICAL means that the content is turned
counter-clockwise by 90 degrees, so horizontal text becomes
vertical. Some web sites only fit this way on a portait paper.
Note that the content orientation is completely independent from
the page orientation. You can have vertical text on portrait and
landscape papers as well. It does not affect the margins
either.
'VB Sample Code Set oPrinter = CreateObject("easyPDF.Printer.6") Set oPrintJob = oPrinter.IEExtendedPrintJob oPrintJob.PageWidth = 8.5 oPrintJob.PageHeight = 11.0 oPrintJob.ContentOrientation = PRN_CONTENT_ORIENT_VERTICAL oPrintJob.PrintOut "C:\input.doc", "C:\output.pdf" //C# Sample Code PrinterClass printerObj = new PrinterClass(); IEExtendedPrintJob printJobObj = printerObj.IEExtendedPrintJob; printJobObj.PageWidth = 8.5; printJobObj.PageHeight = 11.0; printJobObj.ContentOrientation = prnContentOrientation.PRN_CONTENT_ORIENT_HORIZONTAL; printJobObj.PrintOut("http://www.pdfonline.com/", "C:\\output.pdf");