Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ScaleTransform Constructor (Double, Double, Double, Double)

 

Initializes a new instance of the ScaleTransform class that has the specified scale factors and center point.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public ScaleTransform(
	double scaleX,
	double scaleY,
	double centerX,
	double centerY
)

Parameters

scaleX
Type: System.Double

The x-axis scale factor. For more information, see the ScaleX property.

scaleY
Type: System.Double

The y-axis scale factor. For more information, see the ScaleY property.

centerX
Type: System.Double

The x-coordinate of the center of this ScaleTransform. For more information, see the CenterX property.

centerY
Type: System.Double

The y-coordinate of the center of this ScaleTransform. For more information, see the CenterY property.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft