InlineShape Object Members

Word Developer Reference

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
Bb243490.methods(en-us,office.12).gif ConvertToShape Converts an inline shape to a free-floating shape. Returns a Shape object that represents the new shape.
Bb243490.methods(en-us,office.12).gif Delete Deletes the specified inline shape.
Bb243490.methods(en-us,office.12).gif Reset Removes changes that were made to an inline shape.
Bb243490.methods(en-us,office.12).gif Select Selects the specified inline shape.

Properties

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