ArcObjects Library Reference (Display)  

IDynamicGlyph.GetAnchor Method

Indicates the origin of the glyph from the the bottom left.

[Visual Basic .NET]
Public Sub GetAnchor ( _
    ByRef xAnchor As Single&, _
    ByRef yAnchor As Single& _
)
[C#]
public void GetAnchor (
    ref Single& xAnchor,
    ref Single& yAnchor
);
[C++]
HRESULT GetAnchor(
  float* xAnchor,
  float* yAnchor
);
[C++]

Parameters

xAnchor [in, out]   xAnchor is a parameter of type float yAnchor [in, out]   yAnchor is a parameter of type float

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The anchor is an offset value, relative to the glyphs lower left corner, that defines the anchor point (hot point) of the glyph. For example, for a glyph that represents an arrow, use the offset from the lower left glyph to the arrows base point as the anchor of the glyph.

The X values grow towards the right, and the Y values grow towards the top.

See Also

IDynamicGlyph Interface