Skybound Rebar

RebarMenuItemRenderer.DrawImage Method 

Draws the image or check mark for the menu item to the specified Graphics surface.

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

Parameters

graphics
The Graphics surface on which the image is drawn.

Remarks

This method draws the menu item image in the bounds specified by GetImageBounds. If no image is specified, and the item is checked, a check mark or radio check is drawn instead.

See Also

RebarMenuItemRenderer Class | Skybound.Rebar.Rendering Namespace