WMF

A collection of WMF graphics.

WMF 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 WMF has been flipped independently of its parent object and, if yes, the direction in which the WMF was flipped.
absolute horizontal scale fixed r/w The horizontal scale of the WMF relative to its containing object.
absolute rotation angle fixed r/w The rotation angle of the WMF relative to its containing object. (Range: -360 to 360)
absolute shear angle fixed r/w The skewing angle of the WMF relative to its containing object. (Range: -360 to 360)
absolute vertical scale fixed r/w The vertical scale of the WMF relative to its containing object.
allow overrides boolean r/w If true, the master page WMF allows overrides.
applied object style object style r/w The object style applied to the WMF.
associated XML element XML item read The XML element associated with the WMF.
class type class read The class descriptor type.
clipping path clipping path settings read Clipping path settings.
content transparency settings content transparency setting read Transparency settings for the content of the WMF.
fill transparency settings fill transparency setting read Transparency settings for the fill applied to the WMF.
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 number or string r/w 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.
horizontal scale fixed 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 WMF.
image type name string read The type of the image.
index integer read The index of the WMF within its containing object.
item link link read The source file of the link.
label string 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 WMF.
nonprinting boolean r/w If true, the WMF does not print.
object reference WMF read An object reference for the WMF.
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 reference read An object that originated on a master page and has been overridden. Can return: page item, guide, graphic, movie or sound.
parent reference read The parent of the WMF (a XML element, page item, oval, rectangle, polygon, graphic line, state, group or button). Can return: XML element, page item, oval, rectangle, polygon, graphic line, state, group or button.
properties record r/w A property that allows setting of several properties at the same time.
rotation angle fixed r/w The rotatation angle of the WMF. (Range: -360 to 360)
shear angle fixed r/w The skewing angle applied to the WMF. (Range: -360 to 360)
stroke transparency settings stroke transparency setting read Transparency settings for the stroke.
text wrap preferences text wrap preference read The text wrap preference properties that define the default formatting for wrapping text around objects.
transparency settings transparency setting read Transparency settings.
vertical scale fixed r/w The vertical scaling applied to the text as a percentage of its current size. (Range: 1 to 1000)
visible bounds List of number or string r/w 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.

Leave a Comment

Previous post:

Next post: