This method sets the font used by the selected Text object.
[Visual Basic] Public Function
SetSelectedObjectFont(setFont As Font) As Boolean
[C#]public bool SetSelectedObjectFont(Font
setFont);
Parameters
setFont
A value of type Font
Return Value
Returns True if successful, otherwise returns False.
Explanation
The SetSelectedObjectFont method sets the font used by the selected Text object.
Executing this method is the same as selecting an object, right clicking the object to display the context menu, selecting "Properties" and then setting the "Font".
The setFont parameter will accept a value of type Font. Set Font characteristics like Bold, Italic, Name, Size, Strikeout, and Underline before passing the Font parameter to this method.
This method will return False if no object is selected or if the selected object is not the Text object.
Also See
ImageKit.Edit Members | Newtone.ImageKit.Win.ImageKit