Draws text using the specified client drawing context.
'Declaration
Public Overloads Sub Draw( _
ByVal As TextRenderer, _
ByVal As System.Single, _
ByVal As System.Single _
)
public void Draw(
TextRenderer ,
System.float ,
System.float
)
Parameters
- renderer
- Pointer to the set of callback functions used to draw parts of a text string.
- originX
- The x-coordinate of the layout's left side.
- originY
- The y-coordinate of the layout's top side.
Return Value
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.