Page 1 of 1

Defining default settings for printing

Posted: Wed Dec 01, 2010 4:17 pm
by r1d2m3
Hi Sergey, I'm using RichViewActions and I need to define default values for printing margins appear in the action: rvActionPrintPreview. How do I set this action to take other default values?

Greetings.

Posted: Wed Dec 01, 2010 5:18 pm
by Sergey Tkachenko
If you want to set margins used in RichViewActions for TRichViewEdit, create TRVPrint component, assign this component to RVAControlPanel.RVPrint, and change properties of this RVPrint (LeftMarginMM, TopMarginMM, etc.)

More information about printing settings for RichViewActions:
http://www.trichview.com/forums/viewtopic.php?t=10

Note 1: ActionTest demo already have RVPrint assigned.
Note 2: This information is for TRichViewEdit. When using ScaleRichView, printing settings are stored in the editor itself (TSRichViewEdit)

Posted: Wed Dec 01, 2010 7:15 pm
by r1d2m3
Ok, thanks.