'Declaration Public Overloads Sub Draw( _ ByVal clientDrawingContext As System.Object, _ ByVal renderer As TextRenderer, _ ByVal originX As System.Single, _ ByVal originY As System.Single _ )
public void Draw( System.object clientDrawingContext, TextRenderer renderer, System.float originX, System.float originY )
Parameters
- clientDrawingContext
- An application-defined drawing context.
- 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.