A placed PICT graphic.
Go to Property Listing | Method Listing
exportFile, extractLabel, insertLabel, move, place, remove, resize, rotate, shear, store, unlink
BlendMode, Boolean, ClippingPathSettings, DisplaySettingOptions, FeatherCornerType, FeatherMode, Link, Number, Object, ShadowMode, String, Swatch, TextWrapPreference, XMLElement
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
read/write |
The horizontal scale of the PICT relative to its containing object. |
||
|
read/write |
The rotation angle of the PICT relative to its containing object. (Range: -360 to 360) |
||
|
read/write |
The skewing angle of the PICT relative to its containing object. (Range: -360 to 360) |
||
|
read/write |
The vertical scale of the PICT relative to its containing object. |
||
|
readonly |
Returns the associated XML element |
||
|
read/write |
The blend mode used to combine the background with the color of the PICT. |
||
|
readonly |
Clipping path settings. |
||
|
read/write |
The type of feathering. |
||
|
read/write |
The feather-enabling mode. |
||
|
read/write |
The width of the feathering |
||
|
read/write |
The bounds of the PICT excluding the stroke width, in the format [y1, x1, y2, x2], which give the coordinates of the top-left and bottom-right corners of the bounding box. |
||
|
read/write |
The horizontal scaling applied to the PICT. |
||
|
readonly |
The unique ID of the PICT. |
||
|
readonly |
The type of the image. |
||
|
readonly |
The index of the PICT within its containing object. |
||
|
read/write |
If true, the PICT blends in isolation. |
||
|
readonly |
The source file of the link. |
||
|
read/write |
If true, the PICT is a knockout group. |
||
|
read/write |
A property that can be set to any string. |
||
|
read/write |
Display performance options for the PICT. |
||
|
read/write |
If true, the PICT does not print. |
||
|
read/write |
The opacity of the object |
||
|
readonly |
The parent of the PICT (a PageItem, Oval, Rectangle, Polygon, GraphicLine, State, Group, Button or XMLElement). |
||
|
read/write |
A property that allows setting of several properties at the same time. |
||
|
read/write |
The rotatation angle of the PICT. (Range: -360 to 360) |
||
|
read/write |
The blend mode to use for drawing the shadow. |
||
|
read/write |
The radius of the shadow blur. |
||
|
read/write |
The swatch (color or mixed ink) applied to the shadow. |
||
|
read/write |
The shadow mode. |
||
|
read/write |
The opacity of the shadow |
||
|
read/write |
The horizontal offset of the shadow. |
||
|
read/write |
The vertical offset of the shadow. |
||
|
read/write |
The skewing angle applied to the PICT. (Range: -360 to 360) |
||
|
readonly |
The text wrap preference properties that define the default formatting for wrapping text around objects. |
||
|
read/write |
The vertical scaling applied to the PICT. |
||
|
read/write |
The bounds of the PICT including the stroke width, in the format [y1, x1, y2, x2], which give the coordinates of the top-left and bottom-right corners of the bounding box. |
undefined exportFile (format:Varies ExportFormat String, to:File, [showingOptions:Boolean=Boolean], using:PDFExportPreset)
Exports the object(s) to a file.
|
Parameter |
Type |
Description |
|---|---|---|
|
format |
The export format. Can accept: ExportFormat enumerator or String. |
|
|
to |
The path of the export file. |
|
|
showingOptions |
If true, prompts the user to select export options. (Optional) (default: false) |
|
|
using |
The export style to use. (Optional) |
String extractLabel (key:String)
Gets the label value associated with the specified key.
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
The key. |
undefined insertLabel (key:String, value:String)
Sets the label to the value associated with the specified key.
undefined move (to:Array of Varies 2 Units Page Spread Layer, by:Array of Number String)
Move Page Item to a new location. One of the To or By parameters is required.
|
Parameter |
Type |
Description |
|---|---|---|
|
to |
Array of 2 Units |
The new location of the object. Can accept: Array of 2 Units, Spread, Page or Layer. (Optional) |
|
by |
Amount by which to move the object relative to its current position (Optional) |
Varies place (fileName:File, placePoint:Array of Number String, destinationLayer:Array of Varies Layer Layers. , [showingOptions:Boolean=Boolean], [autoflowing:Boolean=Boolean], [retainingFormatting:Boolean=Boolean], [convertingQuotes:Boolean=Boolean], withProperties:Object)
Places a file in the document.
|
Parameter |
Type |
Description |
|---|---|---|
|
fileName |
The file to place. |
|
|
placePoint |
The point where to place the object (only applicable if you are telling a page or spread to place) (Optional) |
|
|
destinationLayer |
Array of Layers. |
The layer(s) to place the file on (only valid if you are telling a page or spread to place). Can accept: Layer or Array of Layers. (Optional) |
|
showingOptions |
Whether to display the import options dialog (Optional) (default: false) |
|
|
autoflowing |
Whether to autoflow placed text (Optional) (default: false) |
|
|
retainingFormatting |
Whether to keep formatting of placed text files (Optional) (default: true) |
|
|
convertingQuotes |
Whether to convert to typographer's quotes (Optional) (default: true) |
|
|
withProperties |
Initial values for properties of the placed object(s) (Optional) |
undefined remove ()
Deletes the PICT.
undefined resize (horizontalScale:Number, verticalScale:Number, around:Array of Varies 2 Units AnchorPoint, [consideringCurrentScale:Boolean=Boolean], [transformingContent:Boolean=Boolean], [consideringParentsScale:Boolean=Boolean])
Resize the page item. You must specify either horizontal scale or vertical scale or both.
|
Parameter |
Type |
Description |
|---|---|---|
|
horizontalScale |
The percentage of horizontal scale (Optional) |
|
|
verticalScale |
The percentage of vertical scale (Optional) |
|
|
around |
Array of 2 Units |
The point to scale around. Can accept: Array of 2 Units or AnchorPoint enumerator. (Optional) |
|
consideringCurrentScale |
If true then the object's current scale and new scale will be combined. If false then the new value is absolute. The default value is false. (Optional) (default: false) |
|
|
transformingContent |
If true then both the object and items within it are scaled (Optional) (default: true) |
|
|
consideringParentsScale |
If true then the object is scaled relative to its parent page item. If false it is scaled relative to the spread. (Optional) (default: false) |
undefined rotate (by:Number, around:Array of Varies 2 Units AnchorPoint, [consideringCurrentRotation:Boolean=Boolean], [transformingContent:Boolean=Boolean], [consideringParentsRotation:Boolean=Boolean])
Rotate the page item
|
Parameter |
Type |
Description |
|---|---|---|
|
by |
Angle by which to rotate the page item |
|
|
around |
Array of 2 Units |
The point to rotate around. Can accept: Array of 2 Units or AnchorPoint enumerator. (Optional) |
|
consideringCurrentRotation |
If true then the object's current rotation and new rotation will be combined. If false then the new value is absolute. The default value is false. (Optional) (default: false) |
|
|
transformingContent |
If true then both the object and items within it are rotated (Optional) (default: true) |
|
|
consideringParentsRotation |
If true then the object is rotated relative to its parent page item. If false it is rotated relative to the spread. Cannot rotate with considering current rotation and considering parents rotation both set at the same time. (Optional) (default: false) |
undefined shear (by:Number, around:Array of Varies 2 Units AnchorPoint, [consideringCurrentShear:Boolean=Boolean], [transformingContent:Boolean=Boolean], [consideringParentsShear:Boolean=Boolean])
Shear the page item
|
Parameter |
Type |
Description |
|---|---|---|
|
by |
Angle by which to shear the object |
|
|
around |
Array of 2 Units |
The point to shear around. Can accept: Array of 2 Units or AnchorPoint enumerator. (Optional) |
|
consideringCurrentShear |
If true then the object's current shear and new shear will be combined. If false then the new value is absolute. The default value is false. (Optional) (default: false) |
|
|
transformingContent |
If true then both the object and items within it are sheared (Optional) (default: true) |
|
|
consideringParentsShear |
If true then the object is sheared relative to its parent page item. If false it is sheared relative to the spread. Cannot shear with considering current shear and considering parents shear both set at the same time. (Optional) (default: false) |
Asset store (using:Library)
Store a page item in a library
|
Parameter |
Type |
Description |
|---|---|---|
|
using |
The library in which to store |
undefined unlink (from:UnlinkFrom)
Detaches an overridden master page item from the page or from the master
|
Parameter |
Type |
Description |
|---|---|---|
|
from |
What to unlink from |