Skybound Rebar

RebarMenuItemRenderer.GetTextBounds Method 

Returns the bounds in which the menu item text should be drawn.

[Visual Basic]
Overridable Public Function GetTextBounds() As Rectangle
[C#]
public virtual Rectangle GetTextBounds();

Return Value

A Rectangle that represents the bounding rectangle of the text for the item.

See Also

RebarMenuItemRenderer Class | Skybound.Rebar.Rendering Namespace