Represents an object in the text layer of a document. An inline shape can only be a picture, an OLE object, or an ActiveX control. The InlineShape object is a member of the InlineShapes collection. The InlineShapes collection contains all the shapes that appear inline in a document, range, or selection.

Methods

Name Description
ConvertToShape Converts an inline shape to a free-floating shape. Returns a Shape object that represents the new shape.
Delete Deletes the specified inline shape.
Reset Removes changes that were made to an inline shape.
Select Selects the specified inline shape.

Properties

Name Description
AlternativeText Returns or sets a String that represents the alternative text associated with a shape in a Web page. Read/write.
Application Returns an Application object that represents the Microsoft Word application.
Borders Returns a Borders collection that represents all the borders for the specified shape.
Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.
Field Returns a Field object that represents the field associated with the specified inline shape. Read-only.
Fill Returns a FillFormat object that contains fill formatting properties for the specified shape. Read-only.
Glow Returns a GlowFormat object that represents the formatting properties for a glow effect. Read-only.
GroupItems Returns a GroupShapes collection that represents the shapes that are grouped together for an inline shape. Read-only.
HasChart True if the specified shape is a chart. Read-only.
Height Returns or sets the height of an inline shape. Read/write Single.
HorizontalLineFormat Returns a HorizontalLineFormat object that contains the horizontal line formatting for the specified InlineShape object. Read-only.
Hyperlink Returns a Hyperlink object that represents the hyperlink associated with the specified inline shape. Read-only.
IsPictureBullet True indicates that an InlineShape object is a picture bullet. Read-only Boolean.
Line Returns a LineFormat object that contains line formatting properties for the specified shape. Read-only.
LinkFormat Returns a LinkFormat object that represents the link options of the specified inline shape that is linked to a file. Read/only.
LockAspectRatio MsoTrue if the specified shape retains its original proportions when you resize it. MsoFalse if you can change the height and width of the shape independently of one another when you resize it. Read/write MsoTriState.
OLEFormat Returns an OLEFormat object that represents the OLE characteristics (other than linking) for the specified inline shape. Read-only.
Parent Returns an Object that represents the parent object of the specified InlineShape object.
PictureFormat Returns a PictureFormat object that contains picture formatting properties for the inline shape. Read-only.
Range Returns a Range object that represents the portion of a document that is contained within an inline shape.
Reflection Returns a ReflectionFormat object that represents the reflection formatting for a shape. Read-only.
ScaleHeight Scales the height of the specified inline shape relative to its original size. Read/write Single.
ScaleWidth Scales the width of the specified inline shape relative to its original size. Read/write Single.
Script Returns a Script object, which represents a block of script or code associated with an image on the specified Web page.
Shadow Returns a ShadowFormat object that represents the shadow formatting for the specified shape. Read-only.
SoftEdge Returns a SoftEdgeFormat object that represents the soft edge formatting for a shape. Read-only.
TextEffect Returns a TextEffectFormat object that contains text-effect formatting properties for the specified inline shape. Read-only.
Type Returns the type of inline shape. Read-only WdInlineShapeType.
Width Returns or sets the width, in points, of the specified inline shape. Read/write Long.