سؤال

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