EM_FORMATRANGE inside of RichViewEdit?

General TRichView support forum. Please post your questions here
Post Reply
Loesterinfo
Posts: 2
Joined: Sat Aug 12, 2006 12:36 pm

EM_FORMATRANGE inside of RichViewEdit?

Post by Loesterinfo »

Hello Serguey

What is equivalent to EM_FORMATRANGE of RichEdit in RichViewEdit?

Thankful.
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

TRVReportHelper component
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Demos:

Demo\Delphi\Assorted\Graphics\ToImage\ - drawing to metafile
Demo\Delphi\Assorted\Printing\ReportHelper\ - drawing on printer canvas
Loesterinfo
Posts: 2
Joined: Sat Aug 12, 2006 12:36 pm

RE - TRVReportHelper component

Post by Loesterinfo »

The one that I need is to print exactly in the way that is in TRichViewEdit. With a certain size, type largura=9 .4 cm.

thankful.
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Sorry, TRichView does not support WYSIWYG editing.
You can display pages on screen how they will be printed:
- using TRVPrint+TRVPrintPreview
- using TRVReportHelper, see the demo http://www.trichview.com/forums/viewtopic.php?t=65
But it is a displaying, not editing. You can set the document width (MinTextWidth and MaxTextWidth properties) to the same width as it will be printed (with the correction according to the difference in resolutions), but it will give only approximate results.
Post Reply