Maptitude GISDK Help

GetFontInfo()

Summary

Gets information about a font.

 

Syntax

font_info = GetFontInfo(string font_name)

 

Argument Contents
font_name The name of the font

 

Returns

Returns an array of three elements describing the font:

 

Element Type Contents
1 String The scaleability of the font ("Scaleable" or "Not Scaleable")
2 Array An array of integers indicating valid font sizes if the font is not scaleable, or null if the font is scaleable
3 Array An array of two integers indicating the index of the first and last characters in the font

 

Notes

See Also

Function Summary
ChooseFont() Gets a font using the Windows Font dialog box
GetFontNames() Gets a list of the names of installed fonts

 

 

©2025 Caliper Corporation www.caliper.com