Edit in GitHubLog an issue

@express-document-sdk / CharacterStylesRange

Interface: CharacterStylesRange

A set of CharacterStyles along with the range of characters they apply to. Seen in the characterStyleRanges getter.

Note that fonts returned by the getter are not guaranteed to be ones the user has rights to edit with, even though they are visible in the document.

Extends

Properties

color

color: Color

Text color.

Inherited from

CharacterStyles.color


font

font: Font

Inherited from

CharacterStyles.font


fontSize

fontSize: number

Size of the text in points.

Inherited from

CharacterStyles.fontSize


length

length: number

The length or number of characters in which character styles will be applied. Note: since characters are represented as UTF-16 code units, some symbols such as emojis are considered to have a length of 2.

Inherited from

StyleRange.length


tracking

tracking: number

Uniformly adjusts the letter spacing, aka character spacing. Specified as a delta relative to the font's default spacing, in units of 1/1000 em: positive values increase the spacing, negative values tighten the spacing, and 0 leaves spacing at its default.

Inherited from

CharacterStyles.tracking


underline

underline: boolean

Adds an underline to text.

Inherited from

CharacterStyles.underline

  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2025 Adobe. All rights reserved.