Edit in GitHubLog an issue

@express-document-sdk / CharacterStylesRangeInput

Interface: CharacterStylesRangeInput

Variant of CharacterStylesRange with all style fields optional, along with the range of characters they apply to. Used for the characterStyleRanges setter. When invoking the setter, any fields not specified are reset to their defaults.

If specified, the font must be of the AvailableFont type – one that is guaranteed to be available for the current user to edit with.

Extends

Properties

color?

optional color: Color

Text color.

Inherited from

CharacterStylesInput.color


font?

optional font: AvailableFont

Inherited from

CharacterStylesInput.font


fontSize?

optional fontSize: number

Size of the text in points.

Inherited from

CharacterStylesInput.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?

optional 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

CharacterStylesInput.tracking


underline?

optional underline: boolean

Adds an underline to text.

Inherited from

CharacterStylesInput.underline

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