Xceed Words for .NET v4.0 Documentation
GetHeight Method


Xceed.Drawing.NET Assembly > Xceed.Drawing Namespace > Font Class : GetHeight Method
An output parameter that contains the Font's ascent.
An output parameter that contains the Font's descent.
Returns the Font's height, as well as its ascent & descent.
Syntax
'Declaration
 
Public Function GetHeight( _
   ByRef ascent As Single, _
   ByRef descent As Single _
) As Single
'Usage
 
Dim instance As Font
Dim ascent As Single
Dim descent As Single
Dim value As Single
 
value = instance.GetHeight(ascent, descent)
public float GetHeight( 
   out float ascent,
   out float descent
)

Parameters

ascent
An output parameter that contains the Font's ascent.
descent
An output parameter that contains the Font's descent.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Font Class
Font Members