| Maptitude GISDK Help |
Gets information about a font.
font_info = GetFontInfo(string font_name)
| Argument | Contents |
|---|---|
| font_name | The name of the font |
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 |
Scaleable fonts are also called TrueType fonts.
| 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 |