New to Telerik UI for WinFormsStart a free 30-day trial

Scales an object in the 2-D x-y coordinate system.

Definition

Namespace:Telerik.WinControls.Spreadsheet.UI

Assembly:Telerik.WinControls.RadSpreadsheet.dll

Syntax:

C#
public class ScaleTransform : RenderTransform, INotifyPropertyChanged

Inheritance: objectRenderTransformScaleTransform

Implements: INotifyPropertyChanged

Inherited Members RenderTransform.OnPropertyChanged(string)RenderTransform.PropertyChanged

Constructors

C#
public ScaleTransform()

Properties

Gets or sets the x-coordinate of the center point of this ScaleTransform.

C#
public double CenterX { get; set; }

Gets or sets the y-coordinate of the center point of this ScaleTransform.

C#
public double CenterY { get; set; }

Gets or sets the x-axis scale factor.

C#
public double ScaleX { get; set; }

Gets or sets the y-axis scale factor.

C#
public double ScaleY { get; set; }

Methods

Transforms the specified size.

C#
public double Transform(double size)
Parameters:sizedouble

The size to transform.

Returns:

double

The result of transforming size.

Transforms the specified point.

C#
public Point Transform(Point point)
Parameters:pointPoint

The point to transform.

Returns:

Point

The result of transforming point.

Transforms the specified size.

C#
public Size Transform(Size size)
Parameters:sizeSize

The size to transform.

Returns:

Size

The result of transforming size.