Skybound Rebar

RebarBandRenderer.DrawText Method 

Draws the text for the band onto a specified Graphics object.

[Visual Basic]
Overridable Public Sub DrawText( _
   ByVal graphics As Graphics _
)
[C#]
public virtual void DrawText(
   Graphics graphics
);

Parameters

graphics
The Graphics surface on which the text is drawn.

Remarks

This method draws the text of a rebar band. You can obtain the bounds in which the text will be drawn by calling GetTextRectangle.

If ShouldRenderText is false, no text is drawn.

Exceptions

Exception Type Condition
ArgumentNullException The graphics parameter was a null reference (Nothing in Visual Basic).

See Also

RebarBandRenderer Class | Skybound.Rebar.Rendering Namespace