trichview.com

trichview.support




Re: how to get the control position info.


Return to index


Author

Message

Sergey Tkachenko

Posted: 03/27/2004 15:29:12


By default, controls are drawn using OnPrintComponent, via temporal bitmap,

and you cannot get their position.

It's possible only by creating your own item type for controls.

Look at Demos\Addins\ChartItem\

It contains a special item type for TChart component printing directly on

the printer (or preview) canvas.


> Hi,

>

> How can I get the exactly position info for control when I am using

> TRVPrint.DrawPreview.

>

> Jianfei

>

>

>





Powered by ABC Amber Outlook Express Converter