KB-33115: Zoom on screen.

Question:

How can I zoom in or zoom out on screen?

Solution:

SCADA does not have a zoom tool like E3.

However, you can change Width and Height properties of the objects at runtime via scripts, which will cause a zoom-like effect on screen.

For zoom in x2, for example, you should have something like this:

Bitmap1.width = Bitmap1.width * 2
Bitmap1.height = Bitmap1.height * 2

For zoom out x2, you should have something like this:

Bitmap1.width = Bitmap1.width / 2
Bitmap1.height = Bitmap1.height / 2

NOTE: The sample application was developed in Elipse SCADA v2.29 b092.

Attachments:

AppZoom Eng

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

, ,

Deixe seu Comentário

Seu endereço de e-mail não será publicado. Campos marcados com asterisco são obrigatórios *