ObjectSetFontStyle

 

Change the font style of the object.

 

void @ObjectSetFontStyle(string classname, int style);

 

Parameters

string classname : Class name of object

int style : Font style ( 1=Bold, 2=Italic, 4=Underline, 8=Strikeout)  Multiple options can be used as OR. 3=Bold+Italic

 

Return Value

None

 

Example

@ObjectSetFontStyle("Text1", 1);

 

Description : Set font style of "Text1" object to Bold.

 

Version Information

Supported Version: 10.2.9

 

Related Helps

@ObjectGetClassName()

@ObjectSetBackColor()

@ObjectSetFillColor()

@ObjectSetFillOption()

@ObjectSetFont()

@ObjectSetFontName()

@ObjectSetFontSize()

@ObjectSetFontStyle()

@ObjectSetLineColor()

@ObjectSetLineOption()

@ObjectSetLineThick()

@ObjectSetRect()

@ObjectSetRotationAxis()

@ObjectSetTag()

@ObjectSetText()

@ObjectSetTextColor()

@ObjectSetToolTipText()

@ObjectSetVisible()