Skybound Rebar

RebarMenuItemRenderer.DrawText Method 

Draws the text for the menu item to the specified Graphics surface.

[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 menu item text and shortcut text in the bounds specified by GetTextBounds, using the TextRenderFlags specified by GetTextRenderFlags. If the item is a separator, a 3D etched separator bar is drawn instead.

See Also

RebarMenuItemRenderer Class | Skybound.Rebar.Rendering Namespace