graphic

A collection of imported graphics in any graphic file format (vector, metafile, or bitmap).

graphic Properties

Property Type Access Description
absolute flip none,
horizontal,
vertical,
horizontal and vertical,
both,
none,
horizontal,
vertical,
horizontal and vertical,
both,
none,
horizontal,
vertical,
horizontal and vertical,
both,
none,
horizontal,
vertical,
horizontal and vertical,
both,
r/w Indicates whether the graphic has been flipped independently of its parent object and, if yes, the direction in which the graphic was flipped.
absolute horizontal scale real r/w The horizontal scale of the graphic relative to its containing object.
absolute rotation angle real r/w The rotation angle of the graphic relative to its containing object. (Range: -360 to 360)
absolute shear angle real r/w The skewing angle of the graphic relative to its containing object. (Range: -360 to 360)
absolute vertical scale real r/w The vertical scale of the graphic relative to its containing object.
allow overrides boolean r/w If true, the master page item can be overridden.
applied object style object style r/w The object style applied to the graphic.
associated XML element XML item read The XML element associated with the graphic.
class type read The class descriptor type.
flip none,
horizontal,
vertical,
horizontal and vertical,
both,
none,
horizontal,
vertical,
horizontal and vertical,
both,
none,
horizontal,
vertical,
horizontal and vertical,
both,
none,
horizontal,
vertical,
horizontal and vertical,
both,
r/w The direction in which to flip the printed image.
geometric bounds List of r/w The bounds of the graphic 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.
horizontal scale real r/w The horizontal scaling applied to the text as a percentage of its current size. (Range: 1 to 1000)
id integer read The unique ID of the graphic.
image type name text read The type of the image.
index integer read The index of the graphic within its containing object.
item link link read The source file of the link.
label text r/w A property that can be set to any string.
local display setting high quality,
typical,
optimized,
default,
high quality,
typical,
optimized,
default,
high quality,
typical,
optimized,
default,
r/w Display performance options for the graphic.
object reference graphic read An object reference for the object.
overridden boolean read 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.
overridden master page item specifier read An object that originated on a master page and has been overridden. Can return: page item, guide, graphic, movie or sound.
parent specifier read The parent of the graphic (a page item, oval, rectangle, polygon, graphic line, state or group). Can return: page item, oval, rectangle, polygon, graphic line, state or group.
properties record r/w A property that allows setting of several properties at the same time.
rotation angle real r/w The rotatation angle of the graphic. (Range: -360 to 360)
shear angle real r/w The skewing angle applied to the graphic. (Range: -360 to 360)
vertical scale real r/w The vertical scaling applied to the text as a percentage of its current size. (Range: 1 to 1000)
visible bounds List of r/w The bounds of the graphic 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.

Leave a Comment

Previous post:

Next post: