Hevea documentation

Label.SetStyle Method 

Set the label font and font size.

public void SetStyle(
   string fontName,
   int size,
   bool bold,
   string color
);

Parameters

fontName
font name
size
font size
bold
true to have a bold font
color
text color

Exceptions

Exception Type Condition
ArgumentNullException fontName, color is null

See Also

Label Class | Hevea.Core.Http.Html.UI Namespace