# FontPicker
Class Inherits GraffitiProEditor.ListPicker
## About
Internal `ListPicker` opened by the main toolbar's Font button. The editor fills `FontNames` from the active `FontOptions`, with an empty name for Default first when text is being formatted, standing for the document font, in place of the system font. For the document font itself, Default is the system font. It selects the current font. The chosen name reaches the toolbar's font action.
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| DrawItem | g As Graphics <br> index As Integer <br> frame As Rect <br> highlighted As Boolean | (None) | Draws a font name in its own font. |
| ItemCaption | index As Integer | String | Returns the font's display name. |
| ItemCount | (None) | Integer | Returns the number of font names. |
| ItemValue | index As Integer | Variant | Returns the font name, empty for Default. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| DocumentFontName | String | (None) | Gets or sets the font Default is drawn in when it stands for the document font. |
| FontNames() | String | (None) | Gets or sets the font names listed, with an empty name for Default. |