trichview.com

trichview.support




Re: print size of compontent


Return to index


Author

Message

Sergey Tkachenko

Posted: 04/15/2002 20:54:04


Well,


I made changes in the components, and now it accepts a bitmap of any size in

this event, which will be stretch-drawn onto the printer canvas (in the case

if it is larger than the size of the component, otherwise it will be

centered). But in the case of stretch-drawing this bitmap cannot be

transparent.


Modifications will be uploaded on the next update...



> > TRichView assumes that bitmap in OnPrintComponent has the size of the

> > control, and scales this bitmap according to the printer resolution.

>

> I'm a little bit confused. I thought you call something like StretchDraw

to

> print a bitmap ?

> In this case it would be not necessary for me to declare a new item class.

>

> regards,

> Jan

>

>





Powered by ABC Amber Outlook Express Converter