IMapTopobaseShape.PieOriginOffset

Syntax

PieOriginOffset: IGxPointF;

Description

The PieOriginOffset property determines parameters of the pie indicator anchor point.

Example

Executing the example requires a form with the Button1 button, the MapBox and UiMap components with a loaded map. Map pie indicators must be set up.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

M: IMap;

Point: IGxPointF;

Layer: IMapLayer;

Shape: IMapTopobaseShape;

Begin

M := UiMap1.Map;

Layer := M.Layers.FindByName("Regions");

Shape := Layer.Shapes.Item(0);

Point := Shape.PieOriginOffset;

Point.Offset(0.1, 0.3);

Shape.PieOriginOffset:= Point;

End Sub Button1OnClick;

After executing the example on clicking the button the pie indicator of the first area is displaced for "0.1" in the X-direction and for "0.3" in the Y-direction.

See also:

IMapTopobaseShape