Graphics.CharacterSpacing

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Integer )
aGraphics.CharacterSpacing = newIntegerValue
or
IntegerValue = aGraphics.CharacterSpacing

Supported for all project types and targets.

This property is expressed as a percentage of spacing between characters. Positive and negative values are accepted.

Examples

(Used in a Canvas.Paint event handler.)

Double the character spacing:

g.CharacterSpacing = 100

Reduce spacing by 20%:

g.CharacterSpacing = -20