THPDFPage.SetCharacterSpacing Method
Sets the character spacing used by subsequent text on the current page
Declaration
procedure SetCharacterSpacing(Spacing: Single);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Spacing | Additional text-space advance in points, before horizontal scaling. Negative values tighten spacing |
Return value
Returns no value
Usage notes
- Positioned Unicode runs add spacing to advancing glyphs and preserve combining-mark attachment in both text directions
- Explicit
ExtTextOutglyph positions take precedence over spacing. The final natural advance still includes spacing - Save and restore graphics state when the spacing should apply only to a portion of the page