Adobe InDesign CS (3.0) Object Model JS: ClippingPathSettings

InDesign CS

Class

ClippingPathSettings

 Clipping path settings.

QuickLinks

convertToFrame

Hierarchy

EPS | Image | PDF | PICT | WMF
ClippingPathSettings
Path

Properties

PropertyTypeAccessDescription
alphaChannelPathNames Array of string readonlyA list of the alpha channels stored in the graphic.
appliedPathNamestring r/wThe name of the Photoshop path or alpha channel to use as a clipping path.
clippingTypeClippingPathType:
ClippingPathType.NONE
ClippingPathType.DETECT_EDGES
ClippingPathType.ALPHA_CHANNEL
ClippingPathType.PHOTOSHOP_PATH
ClippingPathType.USER_MODIFIED_PATH
r/wThe clipping path type.
includeInsideEdgesbool r/wIf true, creates interior clipping paths within the surrounding clipping path. Note: Valid only when clipping type is alpha channel or detect edges.
insetFrameMeasurement Unit (Number or String) r/wShrinks the area enclosed by the clipping path by the specified amount. (Range depends on the unit. For points: -10000 to 10000; picas: -833p4 to 833p4; inches: -138.8889 to 138.8889; mm: -3527.778 to 3527.778; cm: -352.7778 to 352.7778; ciceros: -781c11.889 to 781c11.889)
invertPathbool r/wIf true, inverts the clipping path.
parentEPS
Image
PDF
PICT
WMF
readonlyThe parent of the ClippingPathSettings (a Image, EPS, WMF, PICT or PDF).
pathsPaths readonlyA collection of paths.
photoshopPathNames Array of string readonlyA list of the clipping paths stored in the graphic.
propertiesObject r/wA property that allows setting of several properties at the same time.
restrictToFramebool r/wIf true, truncates the clipping path at the edge of the frame containing the graphic. Note: Valid only when clipping type is alpha channel or detect edges.
thresholdnumber r/wThreshold for detect edges or the alpha channel.
tolerancenumber r/wTolerance
useHighResolutionImagebool r/wIf true, uses the high-resolution version of the graphic to create the clipping path. If false, calculates the clipping path based on screen-display resolution. Note: Valid only when clipping type is detect edges.

Methods

Instances

PageItem convertToFrame ()
Converts the clipping path to a frame.

Element of

EPS.clippingPath

Image.clippingPath

PDF.clippingPath

PICT.clippingPath

Path.parent

WMF.clippingPath

Jongware, 27-Jun-2010 v3.0.3dContents :: Index