Platforms to show: All Mac Windows Linux Cross-Platform

Back to CDTTFTextMBS class.

CDTTFTextMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 15.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The private constructor.

CDTTFTextMBS.destroy

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 12.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Destroys the text object.

Normally you don't need to call this.

CDTTFTextMBS.draw(x as Integer, y as Integer, colorvalue as color, alignment as Integer = 7)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 11.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Same as the other draw method, but uses color instead of integer data type for passing color values.

See also:

CDTTFTextMBS.draw(x as Integer, y as Integer, colorvalue as Integer, alignment as Integer = 7)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Draws the text block.

ArgumentDefaultDescription
x(Mandatory)The x coordinate of a reference point to align the text.
y(Mandatory)The y coordinate of a reference point to align the text.
color(Mandatory)The color of the text.
alignmentTopLeftThe location of the text relative to the reference point. See Alignment Specification for supported alignment types.

See also:

CDTTFTextMBS.getHeight as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Gets the height of the text block.

CDTTFTextMBS.getLineDistance as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Gets the distance between two lines in the text block.

Return Value
The distance between two lines in the text block in pixels.

CDTTFTextMBS.getLineHeight as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Gets the height of a typical line in the text block.

CDTTFTextMBS.getWidth as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Gets the width of the text block.

The items on this page are in the following plugins: MBS ChartDirector Plugin.


The biggest plugin in space...