Represents an object in the text layer of a document.
public interface class InlineShape
[System.Runtime.InteropServices.Guid("000209A8-0000-0000-C000-000000000046")] public interface InlineShape
type InlineShape = interface
Public Interface InlineShape
An inline shape can only be a picture, an OLE object, or an ActiveX control. InlineShape objects are treated like characters and are positioned as characters within a line of text. The InlineShape object is a member of the InlineShapes collection. The InlineShapes collection contains all the shapes in a document, range, or selection.
index is the index number, to return a single InlineShape object. Inline shapes don't have names.
Shape objects are anchored to a range of text but are free-floating and can be positioned anywhere on the page. You can use the ConvertToInlineShape() method and the ConvertToShape() methods to convert shapes from one type to the other. You can convert only pictures, OLE objects, and ActiveX controls to inline shapes. Use the Type property to return the type of inline shape: picture, linked picture, embedded OLE object, linked OLE object, or ActiveX control.
When you open a document created in an earlier version of Microsoft Word, pictures are converted to inline shapes.
Returns or sets the alternative text associated with a shape in a Web page.
Returns a Application object that represents the Microsoft Word application.
Returns a Borders collection that represents all the borders for the specified object.
Returns a chart within the collection of inline shapes in a document. Read-only.
Returns a 32-bit integer that indicates the application in which the specified object was created.
Returns a Field object that represents the field associated with the specified shape.
Returns a FillFormat object that contains fill formatting properties for the specified shape.
Returns the formatting properties for a glow effect. Read-only.
Returns the shapes that are grouped together for an inline shape. Read-only.
True if the specified shape is a chart. Read-only.
Gets True if there is a SmartArt diagram present on the shape.
Returns or sets the height of the specified inline shape.
Determines if a InlineShape object is a picture bullet.
Returns a LineFormat object that contains line formatting properties for the specified shape.
Determines whether the specified shape retains its original proportions when you resize it.
Reserved for internal use.
Returns an object that represents the parent object of the specified object.
Returns a PictureFormat object that contains picture formatting properties for the specified object.
Returns a Range object that represents the portion of a document that's contained in the specified object.
Returns the reflection formatting for a shape. Read-only.
Scales the height of the specified inline shape relative to its original size.
Scales the width of the specified inline shape relative to its original size.
Returns a Script object, which represents a block of script or code on the specified Web page.
Returns the shadow formatting for the specified shape. Read-only.
Gets a SmartArt object that provides a way to work with the SmartArt associated with the specified inline shape.
Returns the soft edge formatting for a shape. Read-only.
Returns a TextEffectFormat object that contains text-effect formatting properties for the specified shape.
Gets or sets a value that contains a title for the specified inline shape.
Returns the type of inline shape.
Returns or sets the width of the specified object, in points.
Activates the specified object.
Converts an inline shape to a free-floating shape and returns a Shape object that represents the new shape.
Deletes the specified object.
Removes changes that were made to an inline shape.
Selects the specified object.