PinPosition: IGxPointF;
The PinPosition property determines coordinate of shape position. The coordinate is set for the object center.
Executing the example requires an existing ws object of the IWxWorkspace type.
Sub UseProc;
Var
ws: IWxWorkspace;
Shape: IWxShape;
Begin
Shape := ws.Shapes.Item(0);
Shape.PinPosition := New GxPointF.Create(12, 10);
End Sub UseProc;
After executing the example the shape position on a workspace is changed.
See also: