GefObject.Scale (method)

Scales the object by the specified percents.
Syntax: object.Scale HorizontalPercent, VerticaltalPercent, GroupStyle, Anchor
Parameters:
HorizontalPercent As float -
VerticaltalPercent As float -
GroupStyle As long -
Anchor As GefAnchorEnum -
Description: The object is scaled based on the anchor specified.

If bGroupStyle is False, then the anchor point is different for each object and is relative to each object. If bGroupStyle is True, then the anchor point is the same for each object and is relative to the rectangle containing all the objects.

Example:

Sub GefObject_Scale()
    
    Dim oCimObj As GefObject
    
    Set oCimObj = CimGetObject
    
    oCimObj.Scale 10, 10,10, gefCenter
    CimGetScreen.Refresh False
    
End Sub