Enumeration
GridAlignment
Alignment options for frame grids or baseline grids.
In UXP, compare with equals() — the == and === operators do not work on DOM objects: myPath.pathType.equals(PathType.CLOSED_PATH), not myPath.pathType == PathType.CLOSED_PATH.
Values
| Name | Type | Access | Description |
|---|---|---|---|
| Number = 1247896172 | readonly | Aligns the text baseline to the grid. | |
| Number = 1247896173 | readonly | Aligns the bottom of the em box to the grid. | |
| Number = 1247896436 | readonly | Aligns the center of the em box to the grid. | |
| Number = 1247900784 | readonly | Aligns the top of the em box to the grid. | |
| Number = 1248420461 | readonly | Aligns the bottom of the ICF box to the grid. | |
| Number = 1248425072 | readonly | Aligns the top of the ICF box to the grid. | |
| Number = 1852796517 | readonly | Lines are not aligned to the grid. |
Object of 20
Properties elsewhere that hold an GridAlignment value.
ChangeGrepPreference.gridAlignmentChangeTextPreference.gridAlignmentChangeTransliteratePreference.gridAlignmentCharacter.gridAlignmentFindGrepPreference.gridAlignmentFindTextPreference.gridAlignmentFindTransliteratePreference.gridAlignmentGridDataInformation.gridAlignmentInsertionPoint.gridAlignmentLine.gridAlignmentParagraph.gridAlignmentParagraphStyle.gridAlignmentStory.gridAlignmentStoryGridDataInformation.gridAlignmentText.gridAlignmentTextColumn.gridAlignmentTextDefault.gridAlignmentTextStyleRange.gridAlignmentWord.gridAlignmentXmlStory.gridAlignment