System.Windows.Forms.RadioButtonRenderer.GetGlyphSize Method

Returns the size, in pixels, of the option button (also known as a radio button) glyph.

Syntax

public static System.Drawing.Size GetGlyphSize (System.Drawing.Graphics g, System.Windows.Forms.VisualStyles.RadioButtonState state)

Parameters

g
The System.Drawing.Graphics used to draw the option button.
state
One of the System.Windows.Forms.VisualStyles.RadioButtonState values that specifies the visual state of the option button.

Returns

A System.Drawing.Size that represents the size, in pixels, of the option button glyph.

Remarks

This value is determined by the current visual style of the operating system.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0