Version

FontMetrics Constructor

Initializes a new instance of the FontMetrics class.
Syntax
'Declaration
 
Public Function New( _
   ByVal ascent As Single, _
   ByVal descent As Single, _
   ByVal height As Single _
)
public FontMetrics( 
   float ascent,
   float descent,
   float height
)

Parameters

ascent
The maximum unaccented height of the font.
descent
The maximum unaccented depth of the font.
height
The required height of the font that would allow room for all possible characters.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, 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