ChartDirector 5.1 (.NET Edition)

DrawArea.text3


Usage

[VB] Public Function text3(str As String, font As String, fontSize As Double) As TTFText
[C#] public TTFText text3(string str, string font, double fontSize);

Description

Creates a TTFText object representing a text block. This method is a simplified version of the DrawArea.text4 method.

The TTFText object contains methods to measure and draw the text. This method is useful if the size of the text is needed before deciding where the draw it.

Arguments

ArgumentDefaultDescription
str(Mandatory)A string representing the text to be drawn. See ChartDirector Mark Up Language on how to embed special tags in the text for sophisticated formatting.
font(Mandatory)The font name. See Font Specification for details on various font attributes.
fontSize(Mandatory)The font size in points.

Return Value

The TTFText object created.