trichview.com

trichview.support




Re: PageSetup and PrintPreview


Return to index


Author

Message

Sergey Tkachenko

Posted: 02/26/2004 21:22:58


It's currently assumed that printing settings are common for all documents.


If you want to make document specific settings, you need to store:

- RVPrint (more exactly, properties LeftMarginMM, TopMarginMM,

RightMarginMM, BottomMarginMM, MirrorMargins)

- properties of global class variables RVA_HeaderInfo and RVA_FooterInfo

(Text, Alignment, PrintOnFirstPage)

- Printer.Orientation

- paper size and source (see PageSetupRVFrm.pas how to get and set them)

and assign them to the values corresponding to the specific document


(if you want to store them with documents, you can use

RichViewEdit.DocProperties)



> How to solve the situation when you have two TRVE components in program

and

> they have to be printed.

>

> I see that rvActionPrint action has the property Control where you have to

> set what component to print.

>

> It means that I can to print one TRVE component with Margins, PageLayout

and

> other parameters while the other TRVE component can be printed only

without

> any page setup parameters.

>

> Maybe the is some other way?





Powered by ABC Amber Outlook Express Converter