trichview.com

trichview.support




Re: Can we draw a rectangle to delimit every margins ?


Return to index


Author

Message

Sergey Tkachenko

Posted: 04/16/2003 19:30:33


There are two kinds of margins in RichView:

(1) margins on page (properties of TRVPrint), not shown in editor; they are

"real margins"

(2) margins-properties of RichView; they can be considered as additional

paragraph indents

See the help topic on TRVPrint for illustrations.


If you want to show margins (1) , just set RVPrint.Margins.Pen.Style to

psSolid (or other style different from psClear).

If you want to show margins (2), see Yernar's code (with some corrections:

margins are applied to the document, not to window - scrolling must be taken

into account; I can give you an example, if you want)





Powered by ABC Amber Outlook Express Converter