ChartDirector 7.1 (.NET Edition)

TextBox.setFontStyle


Usage

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

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