ChartDirector 5.1 (.NET Edition)

TextBox.setFontStyle


Usage

[VB] Public Sub setFontStyle(font As String [, fontIndex As Integer ])
[C#] public void setFontStyle(string font [, int fontIndex ]);

Description

Sets the font of the text by specifying the file that contains the font.

See Font Specification for details on various font attributes.

Arguments

ArgumentDefaultDescription
font(Mandatory)The font name.
fontIndex0The font index in case the font name refers to a font collection. An index of 0 means the first font.

Return Value

None