ArcObjects Library Reference (Display)  

ITextBackground.Draw Method

Draws the text background.

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

Parameters

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

  transform is a parameter of type ITransformation

Product Availability

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

Description

The Draw method is used in a similar way to the ISymbol::Draw method. Note that ISymbol::Draw called on a TextSymbol coclass will also call ITextBackground::Draw, if a Background is set, thus drawing both the background and the text. Note that there is no Geometry required in this method; the location and size of the TextBackground is determined by the TextSymbol.

See Also

ITextBackground Interface