System.Windows.Forms.VisualStyles.VisualStyleRenderer.GetTextMetrics Method

Retrieves information about the font specified by the current visual style element.

Syntax

public TextMetrics GetTextMetrics (System.Drawing.IDeviceContext dc)

Parameters

dc
The System.Drawing.IDeviceContext this operation will use.

Returns

A System.Windows.Forms.VisualStyles.TextMetrics that provides information about the font specified by the current visual style element.

Remarks

Documentation for this section has not yet been entered.

Requirements

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