FontBuilder Constructor(String,Int32)
In This Topic
Initialize a new
FontBuilder by special
faceName
and
height
Syntax
'Declaration
Public Function New( _
ByVal As String, _
ByVal As Integer _
)
public FontBuilder(
string ,
int
)
Parameters
- faceName
- A null-terminated string that specifies the typeface name of the font. The length of this string must not exceed 32 characters, including the terminating null character. The EnumFontFamiliesEx function can be used to enumerate the typeface names of all currently available fonts. If faceName is an empty string, GDI uses the first font that matches the other specified attributes.
- height
- Specifies the height, in logical units, of the font's character cell or character. The character height value (also known as the em height) is the character cell height value minus the internal-leading value.
See Also