Graphics.CharacterSpacing

From Xojo Documentation

Revision as of 18:50, 31 December 2015 by Npalardy (talk | contribs) (1 revision: tweaks to templates to make segments in various pages easier to identify correctly & overall tweaks to page markup to make it more accurate)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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