ScaleX Property (FlexObject)

Class

FlexObject.

Action

Gets the number that specifies the horizontal scaling factor.

The default value is 1.0, which means that the object is not scaled. A scaleX of 2.0 means the object has been magnified by a factor of 2, and a scaleX of 0.5 means the object has been reduced by a factor of 2.

A value of 0.0 is an invalid value. Rather than setting it to 0.0, set it to a small value, or set the visible property to false to hide the component.

The default value is 1.0.

This property can be used as the source for data binding. When this property is modified, it dispatches the scaleXChanged event.

Syntax

C#
protected Double scaleX { get; }
VB
'Declaration
Protected Read Property scaleX As Double

Access

Read only.