Graphic

A generic graphic. Any placed graphic can be referred to using this object.

Graphic Properties

Property Type Access Description
AbsoluteHorizontalScale Double r/w The horizontal scaling percentage applied to the object, not including any scaling applied to its containing object.
AbsoluteRotationAngle Double r/w The rotation angle applied to the object, not including any rotation applied to its containing object.
AbsoluteShearAngle Double r/w The shear angle applied to the object, not including any shearing applied to its containing object.
AbsoluteVerticalScale Double r/w The vertical scaling percentage applied to the object, not including any scaling applied to its containing object.
GeometricBounds Array of 4 Units (Doubles or Strings) r/w The bounds of the page item excluding the stroke width, in the form (top, left, bottom, right).
HorizontalScale Double r/w The horizontal scaling percentage applied to the object, including the scaling applied to its containing object(s).
Id Long read A unique number identifying the object.
ImageTypeName String read The type of image.
Index Long read Index of the object within its parent object.
ItemLink Link read Link to a placed file.
Label String r/w A label that can be set to any string.
LocalDisplaySetting idDisplaySettingOptions enumeration r/w The display settings for the object.
Overridden Boolean read If true, this object originated on a master spread, was overridden, and is still linked to the object on the master spread.
OverriddenMasterPageItem PageItem, Guide, Graphic, Movie, Sound read A reference to the original object on the master spread (for overridden objects).
Parent Object read The parent of the object.
RotationAngle Double r/w The rotation angle applied to the object, including any rotation applied to its containing object.
ShearAngle Double r/w The shear angle of the object, including any shearing applied to its containing object.
VerticalScale Double r/w The vertical scaling percentage applied to the object, including the scaling applied to its containing object(s).
VisibleBounds Array of 4 Units (Doubles or Strings) r/w The bounds of the page item, including the stroke width, in the form (top, left, bottom, right).

Graphic Methods

Method Returns Description
Delete Nothing Deletes the object.
Detach Nothing Detaches an overridden page item from the master page item.
Duplicate PageItem Duplicates the object.
Export Nothing Exports the object to a file.
ExtractLabel String Gets the content of the label associated with the specified key (name).
FlipItem Nothing Flips the object around a specified axis.
InsertLabel Nothing Sets the content of the label associated with the specified key (name), creating the label if it does not already exist.
Move Nothing Move object to a new location. One of the parameters is required.
Override PageItem, Guide, Graphic, Movie or Sound Overrides an item from the master page and places it on the page.
Place PageItem, Graphic, Movie, Sound, Story or Text Places a file.
RemoveOverride Nothing Removes a locally overridden master page item.
Resize Nothing Resizes the object.
Rotate Nothing Rotates the object.
Shear Nothing Shears the page item.
TransformAgain Array of Strings Repeats the last transformation.
TransformAgainIndividually Array of Strings Transforms the object using the last transformation (applied individually).
TransformSequenceAgain Array of Strings Transforms the object using the last sequence of transformations.
TransformSequenceAgainIndividually Array of Strings Transforms the object using the last sequence of transformations (applied individually).

Leave a Comment

Previous post:

Next post: