InDesign2026
API 21.5.1.73
Object

TextDefault

Text defaults.

Preference TextDefault

Properties

NameType AccessDescription
Boolean read/write If true, aligns the baseline of the text to the baseline grid.
Boolean read/write If true, words unassociated with a hyphenation dictionary can break to the next line on any character.
CharacterStyle | String read/write The character style applied to the text. Can also accept: String.
Font | String read/write The font applied to the TextDefault, specified as either a font object or the name of font family. Can return: Font or String.
LanguageWithVendors | String | Language read/write The language of the text. Can return: LanguageWithVendors or Language. Can also accept: String.
NamedGrid read/write The named grid in use.
NumberingList | String read/write The list to be part of. Can return: NumberingList or String.
ParagraphStyle | String read/write The paragraph style applied to the text. Can also accept: String.
Number 0–500 read/write The percent of the type size to use for auto leading. (Range: 0 to 500).
Number read/write The number of half-width characters at or below which the characters automatically run horizontally in vertical text.
Boolean read/write If true, auto tcy includes Roman characters.
Boolean | BalanceLinesStyle
read/write If true or set to an enumeration value, balances ragged lines. Note: Not valid with a single-line text composer. Can return: Boolean or BalanceLinesStyle enumerator.
Number | String unit read/write The baseline shift applied to the text.
Bullet readonly Bullet character.
ListAlignment
read/write The alignment of the bullet character.
ListType
read/write List type for bullets and numbering.
CharacterStyle | String read/write The character style to be used for the text after string. Can return: CharacterStyle or String.
String read/write The text after string expression for bullets.
Boolean read/write If true, adds the double period (..), ellipse (...), and double hyphen (--) to the selected kinsoku set. Note: Valid only when a kinsoku set is in effect.
Capitalization
read/write The capitalization scheme.
CharacterAlignment
read/write The alignment of small characters to the largest character in the line.
CharacterDirectionOptions
read/write The direction of the character.
Number read/write The rotation angle (in degrees) of individual characters. Note: The rotation is counterclockwise.
Boolean read/write If true, uses grid tracking to track non-Roman characters in CJK grids.
String read/write The text composer to use to compose the text.
Number[] read/write Value of Design Axes
Number 50–200 read/write The desired width (as a percentage) of individual characters. (Range: 50 to 200)
Number read/write The desired letter spacing, specified as a percentge of the built-in space between letters in the font. (Range: -100 to 500)
Number 0–1000 read/write The desired word spacing, specified as a percentage of the font word space value. (Range: 0 to 1000)
DiacriticPositionOptions
read/write Position of diacriticical characters.
DigitsTypeOptions
+8 more
read/write The digits type.
Number 0–150 read/write The number of characters to drop cap.
Number 0–25 read/write The number of lines to drop cap.
CharacterStyle | String read/write The character style to apply to the drop cap. Can also accept: String.
Number read/write Details about the drop cap based on the glyph outlines. 1 = left side bearing. 2 = descenders. 0x100,0x200,0x400 are used for Japanese frame grid.
OutlineJoin
read/write The stroke join type applied to the characters of the text.
EventListeners<EventListener> readonly A collection of event listeners.
Events<Event> readonly A collection of events.
Swatch | String read/write The swatch (color, gradient, tint, or mixed ink) applied to the fill of the TextDefault. . Can also accept: String.
Number 0–100 read/write The tint (as a percentage) of the fill color of the TextDefault. (To specify a tint percentage, use a number in the range of 0 to 100; to use the inherited or overridden value, use -1.)
Number | String unit read/write The amount to indent the first line.
String read/write The name of the font style.
AlternateGlyphForms
+1 more
read/write The glyph variant to substitute for standard glyphs.
Number read/write The angle of a linear gradient applied to the fill of the text. (Range: -180 to 180)
Number read/write The length (for a linear gradient) or radius (for a radial gradient) applied to the fill of the text.
Number[] | String[] unit read/write The starting point (in page coordinates) of a gradient applied to the fill of the text, in the format [x, y].
Number read/write The angle of a linear gradient applied to the stroke of the text. (Range: -180 to 180)
Number read/write The length (for a linear gradient) or radius (for a radial gradient) applied to the stroke of the text.
Number[] | String[] unit read/write The starting point (in page coordinates) of a gradient applied to the stroke of the text, in the format [x, y].
Boolean read/write If true, aligns only the first line to the frame grid or baseline grid. If false, aligns all lines to the grid.
GridAlignment
read/write The alignment to the frame grid or baseline grid.
Number read/write The manual gyoudori setting.
Number read/write The horizontal scaling applied to the TextDefault.
Number 0–10 read/write The relative desirability of better spacing vs. fewer hyphens. A lower value results in greater use of hyphens. (Range: 0 to 100)
Boolean read/write If true, allows the last word in a text column to be hyphenated.
Number 1–15 read/write The mininum number of letters at the beginning of a word that can be broken by a hyphen.
Number 1–15 read/write The minimum number of letters at the end of a word that can be broken by a hyphen.
Boolean read/write If true, allows hyphenation of capitalized words.
Number 0–25 read/write The maximum number of hyphens that can appear on consecutive lines. To specify unlimited consecutive lines, use zero.
Boolean read/write If true, allows hyphenation in the last word in a paragraph. Note: Valid only when hyphenation is true.
Number 3–25 read/write The minimum number of letters a word must have in order to qualify for hyphenation.
Boolean read/write If true, allows hyphenation.
Number | String unit read/write The amount of white space allowed at the end of a line of non-justified text before hypenation begins. Note: Valid when composer is single-line composer.
Boolean read/write If true, ignores optical edge alignment for the paragraph.
Boolean readonly Returns true if the object specifier resolves to valid objects.
Number read/write The number of grid squares in which to arrange the text.
Justification
read/write The paragraph alignment.
KashidasOptions
read/write Use of Kashidas for justification
Boolean read/write If true, keeps all lines of the paragraph together. If false, allows paragraphs to break across pages or columns.
Number 1–50 read/write The minimum number of lines to keep together in a paragraph before allowing a page break.
Number 1–50 read/write The minimum number of lines to keep together in a paragraph after a page break.
Boolean read/write If true, keeps a specified number of lines together when the paragraph breaks across columns or text frames.
Boolean read/write If true, forces the rule above the paragraph to remain in the frame bounds. Note: Valid only when rule above is true.
Number 0–5 read/write The minimum number of lines to keep with the next paragraph.
Boolean read/write If the first line in the paragraph should be kept with the last line of previous paragraph.
KentenAlignment
read/write The alignment of kenten characters relative to the parent characters.
KentenCharacterSet
read/write The character set used for the custom kenten character. Note: Valid only when kenten kind is custom.
String read/write The character used for kenten. Note: Valid only when kenten kind is custom.
Swatch | String read/write The swatch (color, gradient, tint, or mixed ink) applied to the fill of kenten characters. Can return: Swatch or String.
Font | String read/write The font to use for kenten characters. Can return: Font or String.
Number read/write The size (in points) of kenten characters.
String | NothingEnum
read/write The font style of kenten characters. Can return: String or NothingEnum enumerator.
KentenCharacter
read/write The style of kenten characters.
AdornmentOverprint
read/write The method of overprinting the kenten fill.
AdornmentOverprint
read/write The method of overprinting the kenten stroke.
Number read/write The distance between kenten characters and their parent characters.
RubyKentenPosition
read/write The kenten position relative to the parent character.
Swatch | String read/write The swatch (color, gradient, tint, or mixed ink) applied to the stroke of kenten characters. Can return: Swatch or String.
Number 0–100 read/write The stroke tint (as a percentage) of kenten characters. (Range: 0 to 100)
Number 0–100 read/write The fill tint (as a percentage) of kenten characters. (Range: 0 to 100)
Number read/write The stroke weight (in points) of kenten characters.
Number read/write The horizontal size of kenten characters as a percent of the original size.
Number read/write The vertical size of kenten charachers as a percent of the original size.
String read/write The type of pair kerning.
CharacterDirectionOptions
read/write The keyboard direction of the character.
KinsokuHangTypes
read/write The type of hanging punctuation to allow. Note: Valid only when a kinsoku set is in effect.
KinsokuSet | KinsokuTable | String
read/write The kinsoku set that determines legitimate line breaks. Can return: KinsokuTable, KinsokuSet enumerator or String.
KinsokuType
read/write The type of kinsoku processing for preventing kinsoku characters from beginning or ending a line. Note: Valid only when a kinsoku set is defined.
Number | String unit read/write The amount to indent the last line in the paragraph.
Unit | Leading
read/write The leading applied to the text. Can return: Unit or Leading enumerator.
Number read/write The amount of space before each character.
LeadingModel
read/write The point from which leading is measured from line to line.
Number | String unit read/write The width of the left indent.
Boolean read/write If true, replaces specific character combinations (e.g., fl, fi) with ligature characters.
Number 50–200 read/write The maximum width (as a percentage) of individual characters. (Range: 50 to 200)
Number read/write The maximum letter spacing, specified as a percentge of the built-in space between letters in the font. (Range: -100 to 500) Note: Valid only when text is justified.
Number 0–1000 read/write The maximum word spacing, specified as a percentage of the font word space value. Note: Valid only when text is justified. (Range: 0 to 1000)
Boolean read/write If true, consecutive para borders with completely similar properties are merged.
Number 50–200 read/write The minimum width (as a percentage) of individual characters. (Range: 50 to 200)
Number read/write The minimum letter spacing, specified as a percentge of the built-in space between letters in the font. (Range: -100 to 500) Note: Valid only when text is justified.
Number 0–1000 read/write The minimum word spacing, specified as a percentage of the font word space value. Note: Valid only when text is justified. (Range: 0 to 1000)
Number = 4 0–1000 read/write The limit of the ratio of stroke width to miter length before a miter (pointed) join becomes a bevel (squared-off) join.
MojikumiTable | String | MojikumiTableDefaults
+5 more
read/write The mojikumi table. For information, see mojikumi table defaults. Can return: MojikumiTable, String or MojikumiTableDefaults enumerator.
NestedGrepStyles<NestedGrepStyle> readonly A collection of nested GREP styles.
NestedLineStyles<NestedLineStyle> readonly A collection of nested line styles.
NestedStyles<NestedStyle> readonly A collection of nested styles.
Boolean read/write If true, keeps the text on the same line.
ListAlignment
read/write The alignment of the number.
Boolean read/write If true, apply the numbering restart policy.
CharacterStyle | String read/write The character style to be used for the number string. Can return: CharacterStyle or String.
Boolean read/write Continue the numbering at this level.
String read/write The number string expression for numbering.
NumberingStyle | String
+4 more
read/write Numbering format options. Can return: NumberingStyle enumerator or String.
Number read/write The level of the paragraph.
NumberingRestartPolicy readonly Numbering restart policies.
Number read/write Determines starting number in a numbered list.
Boolean read/write If true, uses contextual alternate forms in OpenType fonts.
Boolean read/write If true, uses discretionary ligatures in OpenType fonts.
OTFFigureStyle
read/write The figure style in OpenType fonts.
Boolean read/write If true, uses fractions in OpenType fonts.
Boolean read/write If true, switches hiragana fonts, which have different glyphs for horizontal and vertical.
Boolean read/write If true, use historical forms in OpenType fonts.
Boolean read/write If true, use alternate justification forms in OpenType fonts
Boolean read/write If true, uses localized forms in OpenType fonts.
Boolean read/write If true, uses mark positioning in OpenType fonts.
Boolean read/write If true, uses ordinals in OpenType fonts.
Boolean read/write If true, use overlapping swash forms in OpenType fonts
Boolean read/write If true, kerns according to proportional CJK metrics in OpenType fonts.
Boolean read/write If true, applies italics to half-width alphanumerics.
Boolean read/write If true, use a slashed zeroes in OpenType fonts.
Boolean read/write If true, use stretched alternate forms in OpenType fonts
Boolean read/write If true, use stylistic alternate forms in OpenType fonts
Number read/write The stylistic sets to use in OpenType fonts.
Boolean read/write If true, uses swash forms in OpenType fonts.
Boolean read/write If true, uses titling forms in OpenType fonts.
Boolean read/write If true, the fill color of the characters will overprint.
Boolean read/write If true, the stroke of the characters will overprint.
CornerOptions
read/write The shape to apply to the bottom left corner of rectangular shapes.
Number | String unit read/write The radius in measurement units of the corner effect applied to the bottom left corner of rectangular shapes
Number | String unit read/write The bottom line weight of the border of paragraph.
Number | String unit read/write The distance to offset the bottom edge of the paragraph border.
ParagraphBorderBottomOriginEnum
read/write The basis (descent or baseline) used to calculate the bottom origin of the paragraph border.
CornerOptions
read/write The shape to apply to the bottom right corner of rectangular shapes.
Number | String unit read/write The radius in measurement units of the corner effect applied to the bottom right corner of rectangular shapes
Swatch | String read/write The swatch (color, gradient, tint, or mixed ink) applied to the paragraph stroke. Can return: Swatch or String.
Boolean read/write If true, then paragraph border is also displayed at the points where the paragraph splits across frames or columns.
Swatch | String read/write The swatch (color, gradient, tint, or mixed ink) applied to the paragraph border gap. Note: Valid only when the border type is not solid. Can return: Swatch or String.
Boolean read/write If true, the paragraph border gap will overprint. Note: Valid only when border type is not solid.
Number 0–100 read/write The tint (as a percentage) of the paragraph border gap. Note: Valid only when the border type is not solid. (Range: 0 to 100)
Number | String unit read/write The left line weight of the border of paragraph.
Number | String unit read/write The distance to offset the left edge of the paragraph border.
Boolean read/write If true, the paragraph border is on.
Boolean read/write If true, the paragraph border will overprint.
Number | String unit read/write The right line weight of the border of paragraph.
Number | String unit read/write The distance to offset the right edge of the paragraph border.
EndCap
read/write The end shape of an open path.
EndJoin
read/write The corner join applied to the TextDefault.
Number 0–100 read/write The tint (as a percentage) of the paragraph stroke. (Range: 0 to 100)
CornerOptions
read/write The shape to be applied to the top left corner of rectangular shapes and all corners of non-rectangular shapes.Note: corner option differs from end join in which you can set a radius for a corner option, whereas the rounded or beveled effect of an end join depends on the stroke weight.
Number | String unit read/write The radius in measurement units of the corner effect applied to the top left corner of rectangular shapes and all corners of non-rectangular shapes
Number | String unit read/write The top line weight of the border of paragraph.
Number | String unit read/write The distance to offset the top edge of the paragraph border.
ParagraphBorderTopOriginEnum
read/write The basis (cap height, ascent or baseline) used to calculate the top origin of the paragraph border.
CornerOptions
read/write The shape to apply to the top right corner of rectangular shapes
Number | String unit read/write The radius in measurement units of the corner effect applied to the top right corner of rectangular shapes
StrokeStyle | String read/write The type of the border for the paragraph. Can return: StrokeStyle or String.
ParagraphBorderEnum
read/write The basis (text width or column width) used to calculate the width of the paragraph border.
ParagraphDirectionOptions
read/write Paragraph direction.
Boolean read/write If true, the gyoudori mode applies to the entire paragraph. If false, the gyoudori mode applies to each line in the paragraph.
ParagraphJustificationOptions
read/write Paragraph justification.
Number read/write Paragraph kashida width. 0 is none, 1 is short, 2 is medium, 3 is long
CornerOptions
read/write The shape to apply to the bottom left corner of rectangular shapes.
Number | String unit read/write The radius in measurement units of the corner effect applied to the bottom left corner of rectangular shapes
Number | String unit read/write The distance to offset the bottom edge of the paragraph.
ParagraphShadingBottomOriginEnum
read/write The basis (descent or baseline) used to calculate the bottom origin of the paragraph shading.
CornerOptions
read/write The shape to apply to the bottom right corner of rectangular shapes.
Number | String unit read/write The radius in measurement units of the corner effect applied to the bottom right corner of rectangular shapes
Boolean read/write If true, forces the shading of the paragraph to be clipped with respect to frame shape.
Swatch | String read/write The swatch (color, gradient, tint, or mixed ink) applied to the paragraph shading. Can return: Swatch or String.
Number | String unit read/write The distance to offset the left edge of the paragraph.
Boolean read/write If true, the paragraph shading is On.
Boolean read/write If true, the paragraph shading will overprint.
Number | String unit read/write The distance to offset the right edge of the paragraph.
Boolean read/write If true, suppress printing of the shading of the paragraph.
Number 0–100 read/write The tint (as a percentage) of the paragraph shading. (Range: 0 to 100)
CornerOptions
read/write The shape to be applied to the top left corner of rectangular shapes and all corners of non-rectangular shapes.Note: corner option differs from end join in which you can set a radius for a corner option, whereas the rounded or beveled effect of an end join depends on the stroke weight.
Number | String unit read/write The radius in measurement units of the corner effect applied to the top left corner of rectangular shapes and all corners of non-rectangular shapes
Number | String unit read/write The distance to offset the top edge of the paragraph.
ParagraphShadingTopOriginEnum
read/write The basis (cap height, ascent or baseline) used to calculate the top origin of the paragraph shading.
CornerOptions
read/write The shape to apply to the top right corner of rectangular shapes
Number | String unit read/write The radius in measurement units of the corner effect applied to the top right corner of rectangular shapes
ParagraphShadingWidthEnum
read/write The basis (text width or column width) used to calculate the width of the paragraph shading.
Application | Document readonly The parent of the TextDefault (a Application or Document).
Number | String unit read/write The text size.
Position
read/write The text position relative to the baseline.
PositionalForms
read/write The OpenType positional form.
Preferences<Preference> readonly A collection of preferences objects.
Object read/write A property that allows setting of several properties at the same time.
HyphenationStyleEnum
read/write The hyphenation style chosen for the provider.
Boolean read/write If true, disallows line breaks in numbers. If false, lines can break between digits in multi-digit numbers.
Number | String unit read/write The width of the right indent.
Boolean read/write If true, rotates Roman characters in vertical text.
RubyAlignments
read/write The ruby alignment.
Boolean read/write If true, auto aligns ruby.
Boolean read/write If true, automatically scales ruby to the specified percent of parent text size. For information on specifying a percent, see ruby parent scaling percent.
Boolean read/write If true, automatically scales glyphs in auto tcy (tate-chuu-yoko) in ruby to fit one em.
Number read/write The number of digits included in auto tcy (tate-chuu-yoko) in ruby.
Boolean read/write If true, includes Roman characters in auto tcy (tate-chuu-yoko) in ruby.
Swatch | String read/write The swatch (color, gradient, tint, or mixed ink) applied to the fill of ruby characters. Can return: Swatch or String.
Font | String read/write The font applied to ruby characters. Can return: Font or String.
Number read/write The size (in points) of ruby characters.
String | NothingEnum
read/write The font style of ruby characters. Can return: String or NothingEnum enumerator.
Boolean read/write If true, uses OpenType Pro fonts for ruby.
Boolean read/write If true, constrains ruby overhang to the specified amount. For information on specifying an amount, see ruby parent overhang amount.
AdornmentOverprint
read/write The method of overprinting the ruby fill.
AdornmentOverprint
read/write The method of overprinting the ruby stroke.
RubyOverhang
read/write The amount by which ruby characters can overhang the parent text.
Number read/write The amount (as a percentage) to scale the parent text size to determine the ruby text size.
RubyParentSpacing
read/write The ruby spacing relative to the parent text.
RubyKentenPosition
read/write The position of ruby characters relative to the parent text.
Swatch | String read/write The swatch (color, gradient, tint, or mixed ink) applied to the stroke of ruby characters. Can return: Swatch or String.
Number read/write The stroke tint (as a percentage) of ruby characters.
Number 0–100 read/write The tint (as a percentage) of the ruby fill color. (Range: 0 to 100)
RubyTypes
read/write The ruby type.
Number read/write The stroke weight (in points) of ruby characters.
Number read/write The amount of horizontal space between ruby and parent characters.
Number read/write The horizontal size of ruby characters, specified as a percent of the original size.
Number read/write The amount of vertical space between ruby and parent characters.
Number read/write The vertical size of ruby characters, specified as a percent of the original size.
Boolean read/write If true, places a rule above the paragraph.
Swatch | String read/write The swatch (color, gradient, tint, or mixed ink) applied to the paragraph rule above. Can return: Swatch or String.
Swatch | String read/write The swatch (color, gradient, tint, or mixed ink) applied to the stroke gap of the paragraph rule above. Note: Valid only when the paragraph rule above type is not solid. Can return: Swatch or String.
Boolean read/write If true, the stroke gap of the paragraph rule above will overprint. Note: Valid only the rule above type is not solid.
Number 0–100 read/write The tint (as a percentage) of the stroke gap color of the paragraph rule. (Range: 0 to 100) Note: Valid only when the rule above type is not solid.
Number | String unit read/write The distance to indent the left edge of the paragraph rule above (based on either the text width or the column width of the first line in the paragraph.
Number | String unit read/write The line weight of the rule above.
Number | String unit read/write The amount to offset the paragraph rule above from the baseline of the first line the paragraph.
Boolean read/write If true, the paragraph rule above will overprint.
Number | String unit read/write The distance to indent the right edge of the paragraph rule above (based on either the text width or the column width of the first line in the paragraph.
Number 0–100 read/write The tint (as a percentage) of the paragraph rule above. (Range: 0 to 100)
StrokeStyle | String read/write The stroke type of the rule above the paragraph. Can return: StrokeStyle or String.
RuleWidth
read/write The basis (text width or column width) used to calculate the width of the paragraph rule above.
Boolean read/write If true, applies a paragraph rule below.
Swatch | String read/write The swatch (color, gradient, tint, or mixed ink) applied to the paragraph rule below. Can return: Swatch or String.
Swatch | String read/write The swatch (color, gradient, tint, or mixed ink) applied to the stroke gap of the paragraph rule below. Note: Valid only when the paragraph rule below type is not solid. Can return: Swatch or String.
Boolean read/write If true, the gap color of the rule below will overprint.
Number 0–100 read/write The tint (as a percentage) of the stroke gap color of the paragraph rule below. (Range: 0 to 100) Note: Valid only when the paragraph rule below type is not solid.
Number | String unit read/write The distance to indent the left edge of the paragraph rule below (based on either the text width or the column width of the last line in the paragraph.
Number | String unit read/write The line weight of the rule below.
Number | String unit read/write The amount to offset the the paragraph rule below from the baseline of the last line of the paragraph.
Boolean read/write If true, the rule below will overprint.
Number | String unit read/write The distance to indent the right edge of the paragraph rule below (based on either the text width or the column width of the last line in the paragraph.
Number 0–100 read/write The tint (as a percentage) of the paragraph rule below. (Range: 0 to 100)
StrokeStyle | String read/write The stroke type of the rule below the paragraph. Can return: StrokeStyle or String.
RuleWidth
read/write The basis (text width or column width) used to calculate the width of the paragraph rule below.
Unit | Spacing
read/write The space between paragraphs using same style. Can return: Unit or Spacing enumerator.
Boolean read/write If true, the line changes size when characters are scaled.
Boolean read/write If true, applies shatai rotation.
Boolean read/write If true, adjusts shatai tsume.
Number read/write The shatai lens angle (in degrees).
Number read/write The amount (as a percentage) of shatai obliquing to apply.
SingleWordJustification
read/write The alignment to use for lines that contain a single word.
Number read/write The skew angle of the TextDefault.
Number | String unit read/write The height of the paragraph space below.
Number | String unit read/write The height of the paragraph space above.
Number | String unit read/write The minimum space after a span or a split column
Number | String unit read/write The minimum space before a span or a split column
SpanColumnTypeOptions
read/write Whether a paragraph should be a single column, span columns or split columns
ShortInteger(1-40) | SpanColumnCountOptions
read/write The number of columns a paragraph spans or the number of split columns. Can return: Short Integer (1 - 40) or SpanColumnCountOptions enumerator.
Number | String unit read/write The inside gutter if the paragraph splits columns
Number | String unit read/write The outside gutter if the paragraph splits columns
StartParagraph
read/write The location at which to start the paragraph.
Swatch | String read/write The swatch (color, gradient, tint, or mixed ink) applied to the strikethrough stroke. Can return: Swatch or String.
Swatch | String read/write The swatch (color, gradient, tint, or mixed ink) applied to the gap of the strikethrough stroke. Can return: Swatch or String.
Boolean read/write If true, the gap color of the strikethrough stroke will overprint. Note: Valid when strike through type is not solid.
Number 0–100 read/write The tint (as a percentage) of the strikethrough stroke gap color. (Range: 0 to 100) Note: Valid when strike through type is not solid.
Number | String unit read/write The amount by which to offset the strikethrough stroke from the text baseline.
Boolean read/write If true, the strikethrough stroke will overprint.
Number 0–100 read/write The tint (as a percentage) of the strikethrough stroke. (Range: 0 to 100)
StrokeStyle | String read/write The stroke type of the strikethrough stroke. Can return: StrokeStyle or String.
Number | String unit read/write The stroke weight of the strikethrough stroke.
Boolean read/write If true, draws a strikethrough line through the text.
TextStrokeAlign
read/write The stroke alignment applied to the text.
Swatch | String read/write The swatch (color, gradient, tint, or mixed ink) applied to the stroke of the TextDefault. Can also accept: String.
Number 0–100 read/write The tint (as a percentage) of the stroke color of the TextDefault. (To specify a tint percentage, use a number in the range of 0 to 100; to use the inherited or overridden value, use -1.)
Number | String unit read/write The stroke weight applied to the characters of the text.
Arrays of Property Name/Value Pairs[] read/write A list of the tab stops in the paragraph. Can return: Array of Arrays of Property Name/Value Pairs.
TabStops<TabStop> readonly A collection of tab stops.
Boolean read/write If true, makes the character horizontal in vertical text.
Number read/write The horizontal offset for horizontal characters in vertical text.
Number read/write The vertical offset for horizontal characters in vertical text.
Number read/write The amount by which to loosen or tighten a block of text, specified in thousands of an em.
Number read/write The amount of space after each character.
Boolean read/write If true, ideographic spaces will not wrap to the next line like text characters.
Number read/write The amount of horizontal character compression.
Boolean read/write If true, underlines the text.
Swatch | String read/write The swatch (color, gradient, tint, or mixed ink) applied to the underline stroke. . Can return: Swatch or String.
Swatch | String read/write The swatch (color, gradient, tint, or mixed ink) applied to the gap of the underline stroke. Note: Valid when underline type is not solid. Can return: Swatch or String.
Boolean read/write If true, the gap color of the underline stroke will overprint.
Number 0–100 read/write The tint (as a percentage) of the gap color of the underline stroke. (Range: 0 to 100) Note: Valid when underline type is not solid.
Number | String unit read/write The amount by which to offset the underline from the text baseline.
Boolean read/write If true, the underline stroke color will overprint.
Number 0–100 read/write The underline stroke tint (as a percentage). (Range: 0 to 100)
StrokeStyle | String read/write The stroke type of the underline stroke. Can return: StrokeStyle or String.
Number | String unit read/write The stroke weight of the underline stroke.
Number read/write The vertical scaling applied to the TextDefault.
Boolean read/write If true, turns on warichu.
WarichuAlignment
read/write The warichu alignment.
Number read/write The minimum number of characters allowed after a line break.
Number read/write The minimum number of characters allowed before a line break.
Number read/write The gap between lines of warichu characters.
Number read/write The number of lines of warichu within a single normal line.
Number read/write The amount (as a percentage) to scale parent text size to determine warichu size.
Number read/write The x (horizontal) offset for diacritic adjustment.
Number read/write The y (vertical) offset for diacritic adjustment.

Methods

EventListener

Adds an event listener.

eventType String The event type.
handler File | JavaScriptFunction The event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
TextDefault[]

Resolves the object specifier, creating an array of object references.

Boolean

If true, Nth design axis of variable font is hidden.

nthAxisIndex Number Index of design axis.
Boolean

Removes the event listener.

eventType String The registered event type.
handler File | JavaScriptFunction The registered event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
void

Set Nth design axis of a variable font.

nthAxisIndex Number Index of design axis.
nthAxisValue Number Value of nth design axis.
String

Generates a string which, if executed, will return the TextDefault.

String

Retrieves the object specifier.

Object of 12

Properties elsewhere that hold a TextDefault.

Return 1

Methods that return a TextDefault.