LocalPinPositionCoeff: IGxPointF;
The LocalPinPositionCoeff property determines rotation point offset relative to the shape size. By default, the rotation point is in the center of a shape. To place a pivot in the upper left corner of a shape, set coordinates (0,0), in the lower left corner of a shape - (1,1), in the center - (0.5,0.5).
Executing the example requires an existing ws object of the IWxWorkspace type.
Sub UserProc;
Var
ws: IWxWorkspace;
Shape : IWxShape;
Begin
Shape := ws.Shapes.Item(0);
Shape.LocalPinPositionCoeff := New GxPointF.Create(0,1);
End Sub UserProc;
After executing the example the point of rotation is located in the bottom left corner.
See also: