Can not change Note font in VB API
Hi, I encountered an issue when I tried to insert a note to our drawing. When we are using the same drawing for different project, I like to create a "stamp" like note on the drawing to indicate which project this drawing is used for.
With the following code, I can set font height but cannot change the font. Although notestyle.getfont confirmed the font was applied, but when it showed, it reverted back to default font "Arial".
Did I miss anything?
note = drawing.CreateDetailItem(noteInstructions)
noteStyle = (New CCpfcAnnotationTextStyle).Create()
noteStyle.SetHeight(FontHeight)
noteStyle.SetFont("ARIALN.TTF")
note.SetNoteTextStyle(noteStyle)
Console.WriteLine(noteStyle.GetFont)
note.Show()

