Edit in GitHubLog an issue

Guide

Represents a single guide in the document.

Properties

名称类型访问最低版本描述
coordinatenumberR W23.0Position 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
directionDirectionR W23.0Indicates whether the guide is vertical or horizontal.
docIdnumberR23.0The ID of the document of this guide.
idnumberR23.0For 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.
parentDocumentR23.0Owner document of this guide.
typenamestringR23.0The class name of the referenced object: "Guide".

Methods

delete

23.0

void

Deletes the guide from the document.

Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.