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.

Sample Code

Scales an image to 200% of its current size:

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