How do I get a default sans serif font in NotesRichTextStyle object? What is the number that assigns it in richStyleLABELS.NotesFont = some numeric value…
or
What is the string text ‘X’ to type in on the rti.GetNotesFont( X, True ) for Default Sans Serif???
STYLE_NO_CHANGE (255) to maintain the previous state (default)
As far as GetNotesFont, you can’t just use “Default Sans Serif” - it requires an actual font name, valid to the platform the script is running on. On Windows for R6x, the default sans-serif font is Microsoft Sans Serif. R5x, it’s MS Sans Serif. On the Mac, it’s (usually) Geneva.