문제

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