TransformPreference

Transform preferences.

Methods:

getElements, toSource, toSpecifier

Objects:

Boolean, Object, WhenScalingOptions

Property Listing

Property

Type

Access

Description

adjustStrokeWeightWhenScaling

Boolean

read/write

If true, strokes are scaled when objects are scaled.

dimensionsIncludeStrokeWeight

Boolean

read/write

If true, includes the stroke weight when displaying object dimensions. If false, measures objects from the path or frame.

parent

Application

readonly

The parent of the TransformPreference (a Application).

properties

Object

read/write

A property that allows setting of several properties at the same time.

showContentOffset

Boolean

read/write

If true, measures the x and y values of the object relative to the containing frame. If false, measures the x and y values relative to the rulers.

transformationsAreTotals

Boolean

read/write

If true, transformation values are relative to the parent object. If false, the transformation values are absolute values.

whenScaling

WhenScalingOptions

WhenScalingOptions.ADJUST_SCALING_PERCENTAGE

WhenScalingOptions.APPLY_TO_CONTENT

read/write

The method used to scale a page item.

Method Listing

TransformPreference getElements ()

Resolves the object specifier, creating an array of object references.

String toSource ()

Generates a string which, if executed, will return the TransformPreference.

String toSpecifier ()

Retrieves the object specifier.

Object of

Application.transformPreferences

Return

TransformPreference.getElements()