다음을 통해 공유


InlineShapes Members (Word)

A collection of InlineShape objects that represent all the inline shapes in a document, range, or selection.

Methods

Name

Description

AddChart

Inserts a chart, of the specified type, as an inline shape into the active document, and opens Microsoft Office Excel with a sheet that contains the default data that Microsoft Word uses to create the chart.

AddHorizontalLine

Adds a horizontal line based on an image file to the current document.

AddHorizontalLineStandard

Adds a horizontal line to the current document.

AddOLEControl

Creates an ActiveX control (formerly known as an OLE control). Returns the InlineShape object that represents the new ActiveX control.

AddOLEObject

Creates an OLE object. Returns the InlineShape object that represents the new OLE object.

AddPicture

Adds a picture to a document. Returns an InlineShape object that represents the picture.

AddPictureBullet

Adds a picture bullet based on an image file to the current document. Returns an InlineShape object.

AddSmartArt

Inserts a SmartArt graphic as an inline shape into the active document.

Item

Returns an individual InlineShape object in a collection.

New

Inserts an empty, 1-inch-square Word picture object surrounded by a border. This method returns the new graphic as an InlineShape object.

Properties

Name

Description

Application

Returns an Application object that represents the Microsoft Word application.

Count

Returns a Long that represents the number of inline shapes in the collection. Read-only.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

Parent

Returns an Object that represents the parent object of the specified InlineShapes object.