StyledText.setFont

Sets a new font to render text with. <p> <b>NOTE:</b> Italic fonts are not supported unless they have no overhang and the same baseline as regular fonts. </p>

@param font new font @exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul>

class StyledText
override
void
setFont

Meta