This document is archived and information here might be outdated. Recommended version. |
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(
OLE_HANDLE hDC,
ITransformation* transform
);
[C++]
Parameters hDC [in]
hDC is a parameter of type OLE_HANDLE transform [in]
transform is a parameter of type ITransformation*
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.