Lingo Dictionary > A-C > charSpacing |
![]() ![]() ![]() |
charSpacing
Syntax
chunkExpression
.charSpacing
Description
Text cast member property; enables specifying any additional spacing applied to each letter in the chunkExpression
portion of the text cast member.
A value less than 0 indicates less spacing between letters. A value greater than 0 indicates more spacing between letters.
The default value is 0, which results in default spacing between letters.
Example
The following handler increases the current character spacing of the third through fifth words within the text cast member myCaption by a value of 2:
on myCharSpacer mySpaceValue = member("myCaption").word[3..5].charSpacing member("myCaption").word[3..5].charSpacing = (mySpaceValue + 2) end
![]() ![]() ![]() |