Drawing Suite
367
picture format
Returns a
picture format
object that contains picture formatting properties for the specified
inline shape object. Read-only.
text object
Returns a
text range
object that represents the portion of a document that's contained in the
specified inline shape object. Read-only.
width
Returns or sets the width (in points) of the specified inline shape object. Read/write.
Class: line format
Plural
line formats
Represents line and arrowhead formatting. For a line, the line format object contains formatting
information for the line itself; for a shape with a border, this object contains formatting information
for the shape's border.
To return a line format object, use the line format property of a shape or inline shape. The following
example adds a a blue, dashed line to the active document. There's a short, narrow oval at the line's
starting point and a long, wide triangle at its end point.
make new line shape at active document with properties {begin line X:100 ¬
begin line Y:100, end line X:200, end line Y:300}
set dash style of line format of line shape 1 of active document to ¬
dash style dash dot dot
set fore color of line format of line shape 1 of active document to ¬
({50, 0, 128} as RGB color)
set begin arrowhead length of line format of line shape 1 of active document ¬
to short arrowhead
set begin arrowhead style of line format of line shape 1 of active document ¬
to
oval
arrowhead
set begin arrowhead width of line format of line shape 1 of active document ¬
to narrow width arrowhead
set end arrowhead length of line format of line shape 1 of active document ¬
to
long
arrowhead
set end arrowhead style of line format of line shape 1 of active document ¬
to
triangle
arrowhead
set end arrowhead width of line format of line shape 1 of active document ¬
to
wide
arrowhead