ArcGIS Pro 2.9 API Reference Guide
Scale(Layer,Int64,MapPoint,Double,Double) Method

ArcGIS.Desktop.Editing Namespace > EditOperation Class > Scale Method : Scale(Layer,Int64,MapPoint,Double,Double) Method
The layer of the feature to scale.
The oid of the feature to scale.
The origin around which the geometry will be scaled.
The scale factor along the x-axis.
The scale factor along the y-axis.
Scales a feature.
Syntax
public void Scale( 
   Layer layer,
   long oid,
   MapPoint origin,
   double sx,
   double sy
)
Public Overloads Sub Scale( _
   ByVal layer As Layer, _
   ByVal oid As Long, _
   ByVal origin As MapPoint, _
   ByVal sx As Double, _
   ByVal sy As Double _
) 

Parameters

layer
The layer of the feature to scale.
oid
The oid of the feature to scale.
origin
The origin around which the geometry will be scaled.
sx
The scale factor along the x-axis.
sy
The scale factor along the y-axis.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

EditOperation Class
EditOperation Members
Overload List