I created a Report Designer years ago.

All components (labels, expressions, etc) of the report structure are represented by TLabels.

Bands of the report are represented by TPanels....

The component designer currently uses default pixels per inch (96).

Now I need to change the scale, to "zoom" the design and enhance the production.

My question is, how can I do zoom/scale on the contents of an TPanel? Is this possible?

有帮助吗?

解决方案

You can call the ScaleControl method. It is protected so you'll need a helper or the protected hack to access the method.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top