trichview.com

trichview.support




Re: Printing to a page area


Return to index


Author

Message

Sergey Tkachenko

Posted: 08/19/2002 19:15:01


Hello,


1) You can set margins to print at the specified rectangle

2) Use TRVReportHelper.

Demo of its using:

http://www.trichview.com/support/files/toimage.zip

See also "Editor Sample" thread below.



> Hello

>

> I have to print the contents of a RichView component to a user-definable

> area of a page. This seems not to be possible... Or is it?

>

> Basically, what I need is a method which I can call with a canvas and a

rectangle,

> something like

>

> TRichView.Draw(PrinterCanvas: TCanvas; OutputRect: TRect)

>

> OutputRect is a rectangle with printer coordinates. TRichView should then

> scale its output according to the device capabilities of the currently

selected

> printer and put it on PrinterCanvas.

>

> Does such a method already exist?

>

> Regards,  Beat

>





Powered by ABC Amber Outlook Express Converter