How to avoid clipping of rv contents when printed / painted

General TRichView support forum. Please post your questions here
Post Reply
lwinter
Posts: 24
Joined: Thu Dec 01, 2005 4:42 am

How to avoid clipping of rv contents when printed / painted

Post by lwinter »

We are using the RichView editor to paint its contents into a device context (metafile) which in turn is placed into a diagram. The contents printed to the metafile are clipped when the metafile is translocated so that relative coordinates become negative.

We need to be able to print unclipped RichView contents to device context / metafile regardless of the positioning / coordinates of the metafile, including negative coordinates.

Q 1:
How can clipping be avoided when printing / painting to device contexts / metafiles?

Q 2:
Is it possible to use the TRVPrint for the purpose of only printing the content without having pagination and other overhead?
E.g. Create and get Metafile's Canvas and pass it into TRVPrint

Thank you!
-- Lutz
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Hmm, how do you use TRVPrint for drawing into metafile?
TRVReportHelper was designed for drawing onto custom canvas, and it should not perform clipping.
Post Reply