Scaling (Object)

Represents the scaling shape.
The scaling shape is made up of a scaling reference element, such as a point, and a scaling factor.

Properties


Property Factor() As (Read Only)
Returns the scaling factor.
Example:
The following example returns in factor the scaling factor of the scaling firstScaling:
 Set factor = firstScaling.Factor
 
Property ScalingReference() As
Returns or sets the scaling reference element. It can be a point.
To set the property, you can use one of the following objects: or .
Example:
The following example returns in ref the scaling reference element of the scaling firstScaling, and then sets it to the created MyRef:
 Set ref = firstScaling.ScalingSupport
 Set MyRef = part.CreateReferenceFromGeometry (Point)
 firstScaling.ScalingSupport = MyRef