Page 1 of 1
EM_FORMATRANGE inside of RichViewEdit?
Posted: Sat Aug 12, 2006 5:34 pm
by Loesterinfo
Hello Serguey
What is equivalent to EM_FORMATRANGE of RichEdit in RichViewEdit?
Thankful.
Posted: Sun Aug 13, 2006 8:51 pm
by Sergey Tkachenko
TRVReportHelper component
Posted: Mon Aug 14, 2006 4:43 am
by Sergey Tkachenko
Demos:
Demo\Delphi\Assorted\Graphics\ToImage\ - drawing to metafile
Demo\Delphi\Assorted\Printing\ReportHelper\ - drawing on printer canvas
RE - TRVReportHelper component
Posted: Mon Aug 14, 2006 3:32 pm
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.
Posted: Tue Aug 15, 2006 11:24 am
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.