Guide
Represents a single guide in the document.
Properties
Name | Type | Access | Min Version | Description |
---|---|---|---|---|
coordinate | number | R W | 23.0 | Position of the guide measured from the ruler origin in pixels. The value can be a decimal. 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 | 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 | 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.