Page Orientation for TRichViewPDF

General TRichView support forum. Please post your questions here
Post Reply
mbailey
Posts: 14
Joined: Tue Oct 11, 2005 5:55 am
Location: Perth, Western Australia

Page Orientation for TRichViewPDF

Post 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
Michel
Posts: 92
Joined: Fri Oct 14, 2005 2:56 pm
Contact:

Post by Michel »

Have you looked at Printer().Orientation?
Michel
mbailey
Posts: 14
Joined: Tue Oct 11, 2005 5:55 am
Location: Perth, Western Australia

Page Orientation for TRichViewPDF

Post 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
Post Reply