Drawing Suite
365
Properties
<Inheritance> inline shape
Inherits the properties and elements of the inline shape class.
file name
Returns the file name of the picture used for the inline picture. Read-only.
Class: inline shape
Plural
inline shapes
Represents an object in the text layer of a document. An inline shape can only be a picture or an
OLE object. Inline shape objects are treated like characters and are positioned as characters within a
line of text. The inline shapes list contains all the shapes in a document, text range, or selection.
Use inline shape index, where index is the index number, to return a single inline shape object.
Inline shapes don't have names. The following example activates the first inline shape in the active
document.
activate object inline shape 1 of active document
Note There are two classes that represent shapes: the shape class, which represents shapes in the
drawing layer of a document, and the inline shape class, which represents shapes in the text layer
of a document. The inline shape class includes the following subclasses: inline horizontal line,
inline picture, inline picture bullet, and standard inline horizontal line.
Remarks
Inline shape objects are anchored to a text range but are free-floating and can be positioned
anywhere on the page. To convert shapes from one type to the other, you can use the
convert to
inline shape
command and the
convert to shape
command. You can convert only pictures and OLE
objects to inline shapes. To return the type of inline shape, use the inline shape type property.
When you open a document created in an earlier version of Word, pictures are converted to inline
shapes.
Properties
alternative text
Returns or sets the alternative text associated with a shape on a Web page. Read/write.
border options
Returns a
border options
object that represents all the borders for the specified inline shape.
Read-only.
field
Returns a
field
object that represents the field associated with the specified shape. Read-only.
fill format
Returns a
fill format
object that contains fill formatting properties for the specified shape.
Read-only.