<Inheritance> inline shape
Inherits the properties and elements of the inline shape class.
Returns the file name of the picture used for the inline picture. Read-only.
Class: inline shape
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
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.
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
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
Returns or sets the alternative text associated with a shape on a Web page. Read/write.
object that represents all the borders for the specified inline shape.
object that represents the field associated with the specified shape. Read-only.
object that contains fill formatting properties for the specified shape.