trichview.com

trichview.support




Re: page setup and margins


Return to index


Author

Message

Michael Philbrick

Posted: 12/06/2004 20:07:33


Sergey,


Ah, yes. I forgot that WYSIWYG printing is not supported yet. This makes

a lot of sense. It would be better, actually, to rely on RVPrint and print

preview, and just set the ruler margins to near zero -- maybe just enough

so the user can see (approximately) where the margins begin and end. I also

like the TRuler demo where the author draws lines in the edit control to

show the user (again, approximately) where the margins and the actual page

end are located.


I will work with this for a while and see what I can come up with.


Michael


"Sergey Tkachenko" <[email protected]> wrote:

>Well, theoretically it's possible to set all RVPrint's margins to 0 and

use

>only TRichView's margins (modified by TRVRuler). The only problem is taking

>"physical offsets" into account - outermost areas on paper where the printer

>cannot print.

>But I am not sure if it makes sense. WYSIWYG printing is not supported yet,

>documents cannot be displayed in the editor exactly like on the page. Only

>an approximation is possible. Taking it into account, plus impossibility

of

>zooming in editor, I do not understand why users may need large margins

in

>TRichViewEdit.

>

>It's possible to force TRichViewEdit to use the fixed screen resolution,

for

>example 96.

>You can do it by assigning

>RichViewPixelsPerInch := 96; // defined in RVFuncs unit

>RVStyle1.TextStyles.PixelsPerInch := 96;





Powered by ABC Amber Outlook Express Converter