Skip to main content

Shape.ScaleX Property

Gets or sets the x-axis scale factor.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v14.2.Core.dll

Declaration

float ScaleX { get; set; }
Property ScaleX As Single

Property Value

Type Description
Single

A Single value that is the scale factor. Default is 1.

Remarks

You can use this property to stretch or shrink a shape horizontally.

Values between 0 and 1 decrease the width of the shape; values greater than 1 increase the width. A value of 1 indicates that the object is not scaled in the x-direction.

Negative values flip the scaled object horizontally.

See Also