Enumeration
CommentTypeEnum
Enum for type of the comment
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 = 1635017074 | readonly | Type is arrow | |
| Number = 1635017572 | readonly | Type is cloud | |
| Number = 1635017582 | readonly | Type is connected lines | |
| Number = 1635018340 | readonly | Type is freeform drawing | |
| Number = 1635018860 | readonly | Type is highlight text | |
| Number = 1635019124 | readonly | Type is insert text | |
| Number = 1635019118 | readonly | Type is invalid comment type | |
| Number = 1635019891 | readonly | Type is line segment | |
| Number = 1635020662 | readonly | Type is oval | |
| Number = 1635020908 | readonly | Type is polygon | |
| Number = 1635021420 | readonly | Type is rectangle | |
| Number = 1635021428 | readonly | Type is replace text | |
| Number = 1635021681 | readonly | Type is squiggly text | |
| Number = 1635021680 | readonly | Type is stamp | |
| Number = 1635021678 | readonly | Type is sticky note | |
| Number = 1635021682 | readonly | Type is strikethrough text | |
| Number = 1635021922 | readonly | Type is text box | |
| Number = 1635021923 | readonly | Type is text callout | |
| Number = 1635021940 | readonly | Type is text typewriter | |
| Number = 1635022188 | readonly | Type is underline text |
Object of 1
Properties elsewhere that hold an CommentTypeEnum value.