Guides

Guides associated with the document.

Methods:

add, getByName

Property Listing

Property

Type

Access

Description

length

Int

readonly

Number of elements in the collection.

parent

 

readonly

The object's container.

typename

String

readonly

The class name of the object.

Method Listing

Guide add (direction:Direction, coordinate:UnitValue)

A guide.

Parameter

Type

Description

direction

Direction

Direction.HORIZONTAL

Direction.VERTICAL

Indicates whether the guide is vertical or horizontal.

coordinate

UnitValue

Location of the guide from origin of image.

Guide getByName (name:String)

Get the first element in the collection with the provided name.

Parameter

Type

Description

name

String

 

Object of

Document.guides