ArcObjects Library Reference (Display)  

ITextBackground.QueryBoundary Method

Queries for the boundary of the text background.

[Visual Basic .NET]
Public Sub QueryBoundary ( _
    ByVal hDC As Integer, _
    ByVal transform As ITransformation, _
    ByVal boundary As IPolygon _
)
[C#]
public void QueryBoundary (
    int hDC,
    ITransformation transform,
    IPolygon boundary
);
[C++]
HRESULT QueryBoundary(
  long hDC,
  ITransformation* transform,
  IPolygon* boundary
);
[C++]

Parameters

hDC [in]   hDC is a parameter of type long transform [in]

  transform is a parameter of type ITransformation

boundary [in]

  boundary is a parameter of type IPolygon

Product Availability

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

Description

Use the QueryBoundary method to find the shape of a callout. This method populates a Polygon with the boundary of the callout. For a LineCallout, this is the minimum bounding rectangle of the leader line and text background box. For a BalloonCallout, this is the shape of the balloon. For a MarkerTextBackground, this is the union of the bounding box of the Marker and the Text.

See Also

ITextBackground Interface