getNotesFont (NotesRichTextItem - JavaScript™)
Returns an identifier for a font face in a document.
Defined in
NotesRichTextItemSyntax
getNotesFont(facename:string, addonfail:boolean) : int
Parameter | Description |
---|---|
facename |
The name of the font face, which must be valid for the platform on which the agent is running. |
addonfail |
|
Return value | Description |
---|---|
int |
The identifier associated with the specified font face, or 0. |
Usage
The identifier can be used to set Font in NotesRichTextStyle.Identifiers assigned by this method are in the range 5 through 254.