WebAnimator.Scale

From Xojo Documentation

Method

WebAnimator.Scale(Target As WebControl, WidthPercentage as Integer, HeightPercentage as Integer, Duration As Double)

New in 2010r4

Supported for all project types and targets.

Scales the Target control by the WidthPercentage and HeightPercentage over the Duration specified.

Example

Scales an image to 200% of its current size:

Animator1.Scale(Image1, 200, 200)
Animator1.Play