'Declaration Public Overloads Sub Draw( _ ByVal renderer As TextRenderer, _ ByVal originX As System.Single, _ ByVal originY As System.Single _ )
public void Draw( TextRenderer renderer, System.float originX, System.float originY )
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.