ParagraphStyle
The Class that stores properties related to the Paragraph panel in the Photoshop UI.
Properties
Name
Type
Access
Default
Range
Min Version
Description
firstLineIndent
number
R W
-
-1296..1296
24.1
The amount of space in pixels to indent the first line of paragraphs for a 72ppi document.
hyphenation
boolean
R W
false
-
24.1
True to use hyphenation in word wrap. Use hyphenationFeatures for maximum control.
hyphenationFeatures
R W
-
-
24.1
The property values used to calculate hyphenation.
justificationFeatures
R W
-
-
24.1
The property values used to calculate justification.
leftIndent
number
R W
-
-1296..1296
24.1
The amount of space in pixels to indent text from the left for a 72ppi document.
mojikumi
R W
-
24.1
Spacing between punctuation, symbols, numbers, and other character classes in Japanese text.
rightIndent
number
R W
-
-1296..1296
24.1
The amount of space in pixels to indent text from the right for a 72ppi document.
spaceAfter
number
R W
-
-1296..1296
24.1
The amount of space in pixels to use after each paragraph for a 72ppi document.
spaceBefore
number
R W
-
-1296..1296
24.1
The amount of space in pixels to use before each paragraph for a 72ppi document.
Methods
reset
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">24.1</span>
<br/> async : Promise<void>
Resets the paragraph style to its default values.