Page 1 of 1

Page Orientation for TRichViewPDF

Posted: Sat Oct 29, 2005 10:05 am
by mbailey
Hi,

Was wondering if anyone can help me here.

I am loading an RTF document into TRVPrintPreview which uses the
default printer's page orientation.

I now want to include the option to output the document to PDF using
the TRichViewPDF from RoleData. I ahve it all working but I cannot
find a way to change the Orientation of the PDF output.

Does anyone know a way to retrieve the current orientation of TRVPrintPreview and set that for the PDF output please.

TIA

Mark Bailey

Posted: Sat Oct 29, 2005 1:39 pm
by Michel
Have you looked at Printer().Orientation?
Michel

Page Orientation for TRichViewPDF

Posted: Sat Oct 29, 2005 1:45 pm
by mbailey
Thanx Michel.

Yes... just got it working. :D

I wasn't properly qualifying the TPrinterOrientation type.

Wood, trees....you know the story....

Ta.

Mark