InlineShapes.AddPictureBullet Method

Word Developer Reference

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

Syntax

expression.AddPictureBullet(FileName, Range)

expression   Required. A variable that represents an InlineShapes collection.

Parameters

Name Required/Optional Data Type Description
FileName Required String The file name of the image you want to use for the picture bullet.
Range Optional Variant The range to which Microsoft Word adds the picture bullet. Word adds the picture bullet to each paragraph in the range. If this argument is omitted, Word adds the picture bullet to each paragraph in the current selection.

Return Value
InlineShape

Example

This example adds a picture bullet to each paragraph in the selected text using a file called "RedBullet.gif."

Visual Basic for Applications
  Selection.InlineShapes.AddPictureBullet _
    "C:\Art files\RedBullet.gif"

See Also