GuidePreference

Guide preferences.

GuidePreference Properties

Property Type Access Description
guidesInBack Boolean r/w Displays guides behind all other objects.
guidesLocked Boolean r/w If true, guides are locked.
guidesShown Boolean r/w If true, all types of guides are displayed.
guidesSnapto Boolean r/w If true, object edges snap to the nearest guide when drawing, moving or resizing the object.
parent Object read The parent of the object.
properties An array of property names and values r/w Property that allows setting of several properties at the same time.
rulerGuidesColor Array of 3 Reals (0 – 255), UIColors enumeration (see table at end of chapter) r/w The color of ruler guides.
rulerGuidesViewThreshold Real r/w The percentage of magnification below which ruler guides do not appear.

GuidePreference Methods

Method Returns Description
getElements Array of Objects Resolve the object specifier.
toSource String Generate JavaScript source that, if executed, will return the specified objects.
toSpecifier String Retrieve the object specifier.

Leave a Comment

Previous post:

Next post: