Guide
Represents a single guide in the document.
Properties
名称 | 类型 | 访问 | 最低版本 | 描述 |
---|---|---|---|---|
coordinate | number | R W | 23.0 | Position of the guide measured from the ruler origin in pixels. The value can be a decimal number. Note: the user can move the ruler origin which will affect the position value of the guides. Fixes in Photoshop 24.0: - Return correct value when resolution is not 72 PPI |
direction | Direction | R W | 23.0 | Indicates whether the guide is vertical or horizontal. |
docId | number | R | 23.0 | The ID of the document of this guide. |
id | number | R | 23.0 | For use with batchPlay operations. This guide ID, along with its document ID can be used to represent this guide for the lifetime of this document or the guide. |
parent | Document | R | 23.0 | Owner document of this guide. |
typename | string | R | 23.0 | The class name of the referenced object: "Guide". |
Methods
delete
23.0void
Deletes the guide from the document.