NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

FontFamily.GetCellAscent

Returns the ascender metric for Windows.

[Visual Basic]
Public Function GetCellAscent( _
   ByVal style As FontStyle _
) As Integer
[C#]
public int GetCellAscent(
   FontStyle style
);
[C++]
public: int GetCellAscent(
   FontStyle style
);
[JScript]
public function GetCellAscent(
   style : FontStyle
) : int;

Parameters

style
[To be supplied.]

Return Value

The ascender metric for this FontFamily with the specified FontStyle.

Remarks

This value is computed as yMax for all characters in the Windows ANSI character set. The return value is equivalent to the GDI TEXTMETRIC.tmAscent.

See Also

FontFamily Class | FontFamily Members | System.Drawing Namespace