A placed WMF graphic.
Go to Property Listing | Method Listing
addEventListener, applyObjectStyle, asynchronousExportFile, autoTag, changeObject, clearObjectStyleOverrides, clearTransformations, contentPlace, convertShape, createEmailQRCode, createHyperlinkQRCode, createPlainTextQRCode, createTextMsgQRCode, createVCardQRCode, detach, duplicate, exportFile, exportForWeb, extractLabel, findObject, fit, flipItem, getElements, insertLabel, markup, move, override, place, placeXML, redefineScaling, reframe, remove, removeEventListener, removeOverride, resize, resolve, select, store, toSource, toSpecifier, transform, transformAgain, transformAgainIndividually, transformSequenceAgain, transformSequenceAgainIndividually, transformValuesOf
AnimationSetting, ArrowHead, ArrowHeadAlignmentEnum, Article, AutofitPageItemSettings, Boolean, ClippingPathSettings, ContentTransparencySetting, CornerOptions, DimensionsConstraints, DisplaySettingOptions, EndCap, EndJoin, EventListeners, Events, FillTransparencySetting, Flip, Graphic, Guide, Layer, Link, LinkedPageItemOption, Movie, Number, Object, ObjectStyle, Page, PageItem, Preferences, Sound, String, StrokeAlignment, StrokeCornerAdjustment, StrokeStyle, StrokeTransparencySetting, Swatch, TextWrapPreference, TimingSetting, TransparencySetting, TypefiPageItemSettings, XMLItem
Property |
Type |
Access |
Description |
---|---|---|---|
read/write |
Indicates whether the WMF has been flipped independently of its parent object and, if yes, the direction in which the WMF was flipped. |
||
read/write |
The horizontal scale of the WMF relative to its containing object. |
||
read/write |
The rotation angle of the WMF relative to its containing object. (Range: -360 to 360) |
||
read/write |
The skewing angle of the WMF relative to its containing object. (Range: -360 to 360) |
||
read/write |
The vertical scale of the WMF relative to its containing object. |
||
readonly |
The list of all articles this page item is part of |
||
readonly |
Lists all graphics contained by the WMF. |
||
readonly |
Lists all page items contained by the WMF. |
||
read/write |
If true, the master page item can be overridden. |
||
readonly |
The page item animation settings. |
||
read/write |
The object style applied to the WMF. |
||
read/write |
The arrowhead alignment applied to the WMF. |
||
readonly |
The XML element associated with the WMF. |
||
readonly |
AutoFit specific settings to page items |
||
read/write |
The shape to apply to the bottom left corner of rectangular shapes. |
||
read/write |
The radius in measurement units of the corner effect applied to the bottom left corner of rectangular shapes |
||
read/write |
The shape to apply to the bottom right corner of rectangular shapes. |
||
read/write |
The radius in measurement units of the corner effect applied to the bottom right corner of rectangular shapes |
||
readonly |
Clipping path settings. |
||
readonly |
Transparency settings for the content of the WMF. |
||
read/write |
The end shape of an open path. |
||
read/write |
The corner join applied to the WMF. |
||
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the fill of the WMF. . Can also accept: String. |
||
Number (range 0 - 100) |
read/write |
The percent of tint to use in the WMF's fill color. (To specify a tint percent, use a number in the range of 0 to 100; to use the inherited or overridden value, use -1.) |
|
readonly |
Transparency settings for the fill applied to the WMF. |
||
read/write |
The direction in which to flip the printed image. |
||
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the gap of a dashed, dotted, or striped stroke. For information, see stroke type. |
||
Number (range 0 - 100) |
read/write |
The tint as a percentage of the gap color. (To specify a tint percent, use a number in the range of 0 to 100; to use the inherited or overridden value, use -1.) |
|
read/write |
The bounds of the WMF 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 angle of a linear gradient applied to the fill of the WMF. (Range: -180 to 180) |
||
read/write |
The length (for a linear gradient) or radius (for a radial gradient) applied to the fill of the WMF. |
||
read/write |
The starting point (in page coordinates) of a gradient applied to the fill of the WMF, in the format [x, y]. |
||
read/write |
The angle of a linear gradient applied to the stroke of the WMF. (Range: -180 to 180) |
||
read/write |
The length (for a linear gradient) or radius (for a radial gradient) applied to the stroke of the WMF. |
||
read/write |
The starting point (in page coordinates) of a gradient applied to the stroke of the WMF, in the format [x, y]. |
||
read/write |
The left margin, width, and right margin constraints this item is subject to when using the object-based layout rule. |
||
read/write |
The horizontal scaling applied to the WMF. |
||
readonly |
The unique ID of the WMF. |
||
readonly |
The type of the image. |
||
readonly |
The index of the WMF within its containing object. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
read/write |
The layer that the WMF is on. |
||
readonly |
The source file of the link. |
||
read/write |
A property that can be set to any string. |
||
Number (range 1 - 1000) |
read/write |
The scaling applied to the arrowhead at the start of the path. (Range: 1 to 1000) |
|
read/write |
The arrowhead applied to the start of the path. |
||
readonly |
Linked Page Item options |
||
read/write |
Display performance options for the WMF. |
||
read/write |
If true, the WMF is locked. |
||
Number (range 1 - 500) |
read/write |
The limit of the ratio of stroke width to miter length before a miter (pointed) join becomes a bevel (squared-off) join. |
|
read/write |
The name of the WMF. |
||
read/write |
If true, the WMF does not print. |
||
read/write |
If true, the WMF's fill color overprints any underlying objects. If false, the fill color knocks out the underlying colors. |
||
read/write |
If true, the gap color overprints any underlying colors. If false, the gap color knocks out the underlying colors. |
||
read/write |
If true, the WMF's stroke color overprints any underlying objects. If false, the stroke color knocks out the underlying colors. |
||
readonly |
If true, the object originated on a master spread and was overridden. If false, the object either originated on a master spread and was not overridden, or the object did not originate on a master page. |
||
readonly |
An object that originated on a master page and has been overridden. Can return: PageItem, Guide, Graphic, Movie or Sound. |
||
readonly |
The parent of the WMF (a XMLElement, PlaceGun, TextBox, SignatureField, ComboBox, ListBox, SplineItem, Polygon, GraphicLine, Rectangle, Oval, State or Snippet). |
||
readonly |
The page on which this page item appears. |
||
readonly |
A collection of preferences objects. |
||
read/write |
A property that allows setting of several properties at the same time. |
||
Number (range 1 - 1000) |
read/write |
The scaling applied to the arrowhead at the end of the path. (Range: 1 to 1000) |
|
read/write |
The arrowhead applied to the end of the path. |
||
read/write |
The rotatation angle of the WMF. (Range: -360 to 360) |
||
read/write |
The skewing angle applied to the WMF. (Range: -360 to 360) |
||
read/write |
The stroke alignment applied to the WMF. |
||
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the stroke of the WMF. Can also accept: String. |
||
read/write |
The corner adjustment applied to the WMF. |
||
read/write |
The dash and gap measurements that define the pattern of a custom dashed line. Define up to six values (in points) in the format [dash1, gap1, dash2, gap2, dash3, gap3]. |
||
Number (range 0 - 100) |
read/write |
The percent of tint to use in object's stroke color. (To specify a tint percent, use a number in the range of 0 to 100; to use the inherited or overridden value, use -1.) |
|
readonly |
Transparency settings for the stroke. |
||
read/write |
The name of the stroke style to apply. Can also accept: String. |
||
read/write |
The weight (in points) to apply to the WMF's stroke. |
||
readonly |
The text wrap preference properties that define the default formatting for wrapping text around objects. |
||
readonly |
The object timing settings. |
||
read/write |
The shape to be applied to the top left corner of rectangular shapes and all corners of non-rectangular shapes.Note: corner option differs from end join in which you can set a radius for a corner option, whereas the rounded or beveled effect of an end join depends on the stroke weight. |
||
read/write |
The radius in measurement units of the corner effect applied to the top left corner of rectangular shapes and all corners of non-rectangular shapes |
||
read/write |
The shape to apply to the top right corner of rectangular shapes |
||
read/write |
The radius in measurement units of the corner effect applied to the top right corner of rectangular shapes |
||
readonly |
Transparency settings. |
||
readonly |
Typefi specific settings to page items |
||
read/write |
The top margin, height, and bottom margin constraints this item is subject to when using the object-based layout rule. |
||
read/write |
The vertical scaling applied to the WMF. |
||
read/write |
If true, the WMF is visible. |
||
read/write |
The bounds of the WMF 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. |
EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Adds an event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The event type. |
|
handler |
JavaScriptFunction |
The event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
undefined applyObjectStyle (using:ObjectStyle, [clearingOverrides:Boolean=Boolean], [clearingOverridesThroughRootObjectStyle:Boolean=Boolean])
Applies the specified object style.
Parameter |
Type |
Description |
---|---|---|
using |
The object style to apply. |
|
clearingOverrides |
If true, clears the WMF's existing attributes before applying the style. (Optional) (default: true) |
|
clearingOverridesThroughRootObjectStyle |
If true, clears attributes and formatting applied to the WMF that are not defined in the object style. (Optional) (default: false) |
BackgroundTask asynchronousExportFile (format:Varies ExportFormat String, to:File, [showingOptions:Boolean=Boolean], using:PDFExportPreset, versionComments:String, [forceSave:Boolean=Boolean])
asynchronously exports the object(s) to a file.
Parameter |
Type |
Description |
---|---|---|
format |
The export format, specified as an enumeration value or as an extension that appears in the Save as type or Format menu in the Export dialog. Can accept: ExportFormat enumerator or String. |
|
to |
The path to the export file. |
|
showingOptions |
If true, displays the export options dialog. (Optional) (default: false) |
|
using |
The export style. (Optional) |
|
versionComments |
The comment for this version. (Optional) |
|
forceSave |
If true, forcibly saves a version. (Optional) (default: false) |
undefined autoTag ()
Tag the object or the parent story using default tags defined in XML preference.
PageItem changeObject (reverseOrder:Boolean)
Finds objects that match the find what value and replace the objects with the change to value.
Parameter |
Type |
Description |
---|---|---|
reverseOrder |
If true, returns the results in reverse order. (Optional) |
undefined clearObjectStyleOverrides ()
Clear overrides for object style
undefined clearTransformations ()
Clears transformations from the WMF. Transformations include rotation, scaling, flipping, fitting, and shearing.
Varies contentPlace (pageItems:Array of PageItem, [linkPageItems:Boolean=Boolean], [linkStories:Boolean=Boolean], [mapStyles:Boolean=Boolean], [showingOptions:Boolean=Boolean])
Duplicate an object and place it into the target page item.
Parameter |
Type |
Description |
---|---|---|
pageItems |
One or more page items to place or load |
|
linkPageItems |
Whether to link pageItems in content placer (if true it will override link stories value) (Optional) (default: false) |
|
linkStories |
Whether to link stories in content placer (only applicable for single story, pageItem links will also be created in case of more than one item) (Optional) (default: false) |
|
mapStyles |
Whether to map styles in content placer (Optional) (default: false) |
|
showingOptions |
Whether to display the link options dialog (Optional) (default: false) |
undefined convertShape (given:ConvertShapeOptions, numberOfSides:Number, insetPercentage:Number, cornerRadius:Number String)
Converts the WMF to a different shape.
Parameter |
Type |
Description |
---|---|---|
given |
The WMF's new shape. |
|
numberOfSides |
Number (range 3 - 100) |
The number of sides for the resulting polygon. (Range: 3 to 100) (Optional) |
insetPercentage |
Number (range 0 - 100) |
The star inset percentage for the resulting polygon. (Range: 0.0 to 100.0) (Optional) |
cornerRadius |
The corner radius of the resulting rectangle. (Optional) |
undefined createEmailQRCode (emailAddress:String, subject:String, body:String, qrCodeSwatch:Varies Swatch String, withProperties:Array of String)
Create Email QR Code on the page item or document
Parameter |
Type |
Description |
---|---|---|
emailAddress |
QR code Email Address (Optional) |
|
subject |
QR code Email Subject (Optional) |
|
body |
QR code Email Body Message (Optional) |
|
qrCodeSwatch |
Swatch to be applied on generated QR Code Graphic . Can accept: Swatch or String. (Optional) |
|
withProperties |
Initial values for properties of the new WMF. Above parameters can also be passed as properties (Optional) |
undefined createHyperlinkQRCode (urlLink:String, qrCodeSwatch:Varies Swatch String, withProperties:Array of String)
Create Hyperlink QR Code on the page item or document
Parameter |
Type |
Description |
---|---|---|
urlLink |
QR code Hyperlink URL (Optional) |
|
qrCodeSwatch |
Swatch to be applied on generated QR Code Graphic . Can accept: Swatch or String. (Optional) |
|
withProperties |
Initial values for properties of the new WMF. Above parameters can also be passed as properties (Optional) |
undefined createPlainTextQRCode (plainText:String, qrCodeSwatch:Varies Swatch String, withProperties:Array of String)
Create Plain Text QR Code on the page item
Parameter |
Type |
Description |
---|---|---|
plainText |
QR code Plain Text (Optional) |
|
qrCodeSwatch |
Swatch to be applied on generated QR Code Graphic . Can accept: Swatch or String. (Optional) |
|
withProperties |
Initial values for properties of the new WMF. Above parameters can also be passed as properties (Optional) |
undefined createTextMsgQRCode (cellNumber:String, textMessage:String, qrCodeSwatch:Varies Swatch String, withProperties:Array of String)
Create Text Msg QR Code on the page item or document
Parameter |
Type |
Description |
---|---|---|
cellNumber |
QR code Text Phone Number (Optional) |
|
textMessage |
QR code Text Message (Optional) |
|
qrCodeSwatch |
Swatch to be applied on generated QR Code Graphic . Can accept: Swatch or String. (Optional) |
|
withProperties |
Initial values for properties of the new WMF. Above parameters can also be passed as properties (Optional) |
undefined createVCardQRCode (firstName:String, lastName:String, jobTitle:String, cellPhone:String, phone:String, email:String, organisation:String, streetAddress:String, city:String, adrState:String, country:String, postalCode:String, website:String, qrCodeSwatch:Varies Swatch String, withProperties:Array of String)
Create Business Card QR Code on the page item or load on document's placegun
Parameter |
Type |
Description |
---|---|---|
firstName |
QR code Business Card First Name (Optional) |
|
lastName |
QR code Business Card Last Name (Optional) |
|
jobTitle |
QR code Business Card Title (Optional) |
|
cellPhone |
QR code Business Card Cell Phone Number (Optional) |
|
phone |
QR code Business Card Phone Number (Optional) |
|
|
QR code Business Card Email Address (Optional) |
|
organisation |
QR code Business Card Organisation (Optional) |
|
streetAddress |
QR code Business Card Street Address (Optional) |
|
city |
QR code Business Card City (Optional) |
|
adrState |
QR code Business Card State (Optional) |
|
country |
QR code Business Card Country (Optional) |
|
postalCode |
QR code Business Card Postal Code (Optional) |
|
website |
QR code Business Card URL (Optional) |
|
qrCodeSwatch |
Swatch to be applied on generated QR Code Graphic . Can accept: Swatch or String. (Optional) |
|
withProperties |
Initial values for properties of the new WMF. Above parameters can also be passed as properties (Optional) |
undefined detach ()
Detaches an overridden master page item from the master page.
PageItem duplicate (to:Array of Varies 2 Units Page Spread Layer, by:Array of Number String)
Duplicates the WMF at the specified location or offset.
Parameter |
Type |
Description |
---|---|---|
to |
Array of 2 Units |
The location of the new WMF, specified in coordinates in the format [x, y]. Can accept: Array of 2 Units, Spread, Page or Layer. (Optional) |
by |
Amount by which to offset the new WMF from the original WMF's position. (Optional) |
undefined exportFile (format:Varies ExportFormat String, to:File, [showingOptions:Boolean=Boolean], using:PDFExportPreset, versionComments:String, [forceSave:Boolean=Boolean])
Exports the object(s) to a file.
Parameter |
Type |
Description |
---|---|---|
format |
The export format, specified as an enumeration value or as an extension that appears in the Save as type or Format menu in the Export dialog. Can accept: ExportFormat enumerator or String. |
|
to |
The path to the export file. |
|
showingOptions |
If true, displays the export options dialog. (Optional) (default: false) |
|
using |
The export style. (Optional) |
|
versionComments |
The comment for this version. (Optional) |
|
forceSave |
If true, forcibly saves a version. (Optional) (default: false) |
String exportForWeb (to:File)
Exports the WMF for the web.
Parameter |
Type |
Description |
---|---|---|
to |
The full path name of the exported file. |
String extractLabel (key:String)
Gets the label value associated with the specified key.
Parameter |
Type |
Description |
---|---|---|
key |
The key. |
PageItem findObject (reverseOrder:Boolean)
Finds objects that match the find what value.
Parameter |
Type |
Description |
---|---|---|
reverseOrder |
If true, returns the results in reverse order. (Optional) |
undefined fit (given:FitOptions)
Applies the specified fit option to content in a frame.
Parameter |
Type |
Description |
---|---|---|
given |
The fit option to use. |
undefined flipItem (given:Flip, around:Array of Varies 2 Units AnchorPoint)
Flips the WMF.
Parameter |
Type |
Description |
---|---|---|
given |
The axis around which to flip the WMF. |
|
around |
Array of 2 Units |
The point around which to flip the WMF. Can accept: Array of 2 Units or AnchorPoint enumerator. (Optional) |
WMF getElements ()
Resolves the object specifier, creating an array of object references.
undefined insertLabel (key:String, value:String)
Sets the label to the value associated with the specified key.
undefined markup (using:XMLElement)
Associates the page item with the specified XML element while preserving existing content.
Parameter |
Type |
Description |
---|---|---|
using |
The XML element. |
undefined move (to:Array of Varies 2 Units Page Spread Layer, by:Array of Number String)
Moves the WMF to a new location. Note: Either the 'to' or 'by' parameter is required; if both parameters are defined, only the to value is used.
Parameter |
Type |
Description |
---|---|---|
to |
Array of 2 Units |
The new location of the WMF,in the format (x, y). Can accept: Array of 2 Units, Spread, Page or Layer. (Optional) |
by |
The amount (in measurement units) to move the WMF relative to its current position, in the format (x, y). (Optional) |
Varies override (destinationPage:Page)
Overrides a master page item and places the item on the document page as a new object.
Parameter |
Type |
Description |
---|---|---|
destinationPage |
The document page that contains the master page item to override. |
Varies place (fileName:File, [showingOptions:Boolean=Boolean], withProperties:Object)
Places the file.
Parameter |
Type |
Description |
---|---|---|
fileName |
The file to place |
|
showingOptions |
Whether to display the import options dialog (Optional) (default: false) |
|
withProperties |
Initial values for properties of the placed object(s) (Optional) |
undefined placeXML (using:XMLElement)
Places XML content into the specified object. Note: Replaces any existing content.
Parameter |
Type |
Description |
---|---|---|
using |
The XML element whose content you want to place. |
undefined redefineScaling (to:Array of Number)
Apply an item's scaling to its content if possible.
Parameter |
Type |
Description |
---|---|---|
to |
The scale factors to be left on the item. The default is {1.0, 1.0}. (Optional) |
undefined reframe (in:Varies CoordinateSpaces BoundsKind:BoundingBoxLimits OrderedarraycontainingcoordinateSpace:CoordinateSpaces, opposingCorners:Array of Varies)
Move the bounding box of the page item
Parameter |
Type |
Description |
---|---|---|
in |
BoundsKind:BoundingBoxLimits OrderedarraycontainingcoordinateSpace:CoordinateSpaces |
The bounding box to resize. Can accept: CoordinateSpaces enumerator or Ordered array containing coordinateSpace:CoordinateSpaces enumerator, boundsKind:BoundingBoxLimits enumerator. |
opposingCorners |
Array of Varies |
Opposing corners of new bounding box in the given coordinate space |
undefined remove ()
Deletes the WMF.
Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Removes the event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The registered event type. |
|
handler |
JavaScriptFunction |
The registered event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
undefined removeOverride ()
Removes the override from a previously overridden master page item.
undefined resize (in:Varies BoundingBoxLimits CoordinateSpaces BoundsKind:BoundingBoxLimits OrderedarraycontainingcoordinateSpace:CoordinateSpaces, from:Array of Varies AnchorPoint AnchorPoints 2 Reals BoundingBoxLimitss CoordinateSpacess Arrays of 2 Reals LongIntegers, by:ResizeMethods, values:Array of Varies Reals ResizeConstraintss CoordinateSpacess, [resizeIndividually:Boolean=Boolean], [consideringRulerUnits:Boolean=Boolean])
Resize the page item.
Parameter |
Type |
Description |
---|---|---|
in |
BoundsKind:BoundingBoxLimits OrderedarraycontainingcoordinateSpace:CoordinateSpaces |
The bounding box to resize. Can accept: CoordinateSpaces enumerator, BoundingBoxLimits enumerator or Ordered array containing coordinateSpace:CoordinateSpaces enumerator, boundsKind:BoundingBoxLimits enumerator. |
from |
AnchorPoints AnchorPoint Array of 2 Reals BoundingBoxLimitss BoundingBoxLimits CoordinateSpacess CoordinateSpaces Array of Arrays of 2 Reals LongIntegers |
The transform origin. Legal specifications: relative to bounding box: anchor | {anchor | {x,y}, bounds kind [, coordinate space]}; relative to coordinate space: {x,y} | {{x,y}[, coordinate space]}; relative to layout window ruler: {{x,y}, page index | bounds kind}. Can accept: Array of 2 Reals, AnchorPoint enumerator or Array of Arrays of 2 Reals, CoordinateSpaces enumerators, AnchorPoint enumerators, BoundingBoxLimits enumerators or Long Integers. |
by |
How the current dimensions are affected by the given values |
|
values |
Array of Reals Array of ResizeConstraintss ResizeConstraints Array of CoordinateSpacess CoordinateSpaces |
The width and height values. Legal dimensions specifications: {x, y [, coordinate space]}, {x, resize constraint [, coordinate space]}, or {resize constraint, y [, coordinate space]}; where x and y are real numbers and coordinate space is used to determine _only_ the unit of length for x and y; coordinate space is ignored for the 'current dimensions times' resize method). Can accept: Array of Reals, ResizeConstraints enumerators or CoordinateSpaces enumerators. |
resizeIndividually |
If false and multiple page items are targeted, the new dimensions are attained only by moving the individual items rather than resizing them. (Optional) (default: true) |
|
consideringRulerUnits |
If true then a ruler location is interpreted using ruler units rather than points. The default value is false. This parameter has no effect unless the reference point is specified relative to a page. (Optional) (default: false) |
Varies resolve (location:Array of Varies AnchorPoint AnchorPoints 2 Reals BoundingBoxLimitss CoordinateSpacess Arrays of 2 Reals LongIntegers, in:CoordinateSpaces, [consideringRulerUnits:Boolean=Boolean])
Get the coordinates of the given location in the specified coordinate system.
Parameter |
Type |
Description |
---|---|---|
location |
AnchorPoints AnchorPoint Array of 2 Reals BoundingBoxLimitss BoundingBoxLimits CoordinateSpacess CoordinateSpaces Array of Arrays of 2 Reals LongIntegers |
The location requested. Can accept: Array of 2 Reals, AnchorPoint enumerator or Array of Arrays of 2 Reals, CoordinateSpaces enumerators, AnchorPoint enumerators, BoundingBoxLimits enumerators or Long Integers. |
in |
The coordinate space to use. |
|
consideringRulerUnits |
If true then a ruler location is interpreted using ruler units rather than points. The default value is false. This parameter has no effect unless the reference point is specified relative to a page. (Optional) (default: false) |
undefined select ([existingSelection:SelectionOptions=SelectionOptions])
Selects the object.
Parameter |
Type |
Description |
---|---|---|
existingSelection |
The selection status of the WMF in relation to previously selected objects. (Optional) (default: SelectionOptions.REPLACE_WITH) |
Asset store (using:Library, withProperties:Object)
Stores the object in the specified library.
Parameter |
Type |
Description |
---|---|---|
using |
The library in which to store the object. |
|
withProperties |
Initial values for properties of the new WMF (Optional) |
String toSource ()
Generates a string which, if executed, will return the WMF.
String toSpecifier ()
Retrieves the object specifier.
undefined transform (in:CoordinateSpaces, from:Array of Varies AnchorPoint AnchorPoints 2 Reals BoundingBoxLimitss CoordinateSpacess Arrays of 2 Reals LongIntegers, withMatrix:Array of Varies 6 Reals TransformationMatrix, replacingCurrent:Array of Varies MatrixContent enumerators MatrixContent LongInteger, [consideringRulerUnits:Boolean=Boolean])
Transform the page item.
Parameter |
Type |
Description |
---|---|---|
in |
The coordinate space to use |
|
from |
AnchorPoints AnchorPoint Array of 2 Reals BoundingBoxLimitss BoundingBoxLimits CoordinateSpacess CoordinateSpaces Array of Arrays of 2 Reals LongIntegers |
The temporary origin during the transformation. Can accept: Array of 2 Reals, AnchorPoint enumerator or Array of Arrays of 2 Reals, CoordinateSpaces enumerators, AnchorPoint enumerators, BoundingBoxLimits enumerators or Long Integers. |
withMatrix |
Array of 6 Reals |
Transform matrix. Can accept: Array of 6 Reals or TransformationMatrix. |
replacingCurrent |
Array of MatrixContent enumerators LongInteger |
Transform components to consider; providing this optional parameter causes the target's existing transform components to be replaced with new values. Without this parameter, the given matrix is concatenated onto the target's existing transform combining the effect of the two. Can accept: MatrixContent enumerator, Array of MatrixContent enumerators or Long Integer. (Optional) |
consideringRulerUnits |
If true then a ruler based origin is interpreted using ruler units rather than points. The default value is false. This parameter has no effect unless the reference point is specified relative to a page. (Optional) (default: false) |
String transformAgain ()
Transforms the WMF using the last transformation performed on any object. Transformations include moving, rotating, shearing, scaling, and flipping.
String transformAgainIndividually ()
Transforms the WMF using the last transformation performed on any WMF. Transformations include moving, rotating, shearing, scaling, and flipping.
String transformSequenceAgain ()
Transforms the WMF using the last sequence of transform operations performed on any single object or performed at the same time on any group of objects. Transformations include moving, rotating, shearing, scaling, and flipping.
String transformSequenceAgainIndividually ()
Transforms the WMF using the last sequence of transformations performed on any single object or performed at the same time on any group of objects. Transformations include moving, rotating, shearing, scaling, and flipping.
TransformationMatrix transformValuesOf (in:CoordinateSpaces)
Get the transformation values of the page item.
Parameter |
Type |
Description |
---|---|---|
in |
The coordinate space to use |
AnimationSetting.parent
AutofitPageItemSettings.parent
ClippingPathSettings.parent
ContentTransparencySetting.parent
Event.parent
EventListener.parent
FillTransparencySetting.parent
LinkedPageItemOption.parent
MutationEvent.parent
Preference.parent
StrokeTransparencySetting.parent
TextWrapPreference.parent
TimingSetting.parent
TransparencySetting.parent
TypefiPageItemSettings.parent