How to change label font on GoIconicNode?


#1

How to change font by which a text is drawed on the GoIconicNode?
GoIconicNode.Label.Font property is read-only… ;-(
I know about separate Bold/Underline/… properties
but I need something more cardinal
like changing font face from “Arial” to “Comic”.

WBR, Ilya


#2

Set GoText.FamilyName. For example:
myIconicNode.Label.FamilyName = “Comic”
In version 2.2 we’ll make GoText.Font settable, although all this will do is just set the individual properties (FamilyName, FontSize, Bold, Italic, Underline, StrikeThrough, GdiCharSet). This will be less efficient, of course, than just setting a particular property.