Platforms to show: All Mac Windows Linux Cross-Platform

Back to CTLineMBS class.

CTLineMBS.GlyphCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreText MBS MacCG Plugin 14.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the total glyph count for the line object.

The total glyph count is equal to the sum of all of the glyphs in the glyph runs forming the line.
(Read only property)

CTLineMBS.StringRangeLength as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreText MBS MacCG Plugin 14.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Gets the range of characters that originally spawned the glyphs in the line.

(Read only property)

CTLineMBS.StringRangeLocation as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreText MBS MacCG Plugin 14.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Gets the range of characters that originally spawned the glyphs in the line.

(Read only property)

CTLineMBS.TrailingWhitespaceWidth as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreText MBS MacCG Plugin 14.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the trailing whitespace width for a line.

The width of the line's trailing whitespace. If the line is invalid, this function will always return zero.

Creating a line for a width can result in a line that is actually longer than the desired width due to trailing whitespace. Although this is typically not an issue due to whitespace being invisible, this function can be used to determine what amount of a line's width is due to trailing whitespace.
Available in OS X v10.5 and later.
(Read only property)

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


The biggest plugin in space...