Share via


InlineShapes.AddPictureBullet Method 

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

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim FileName As String
Dim Range As Object
Dim returnValue As InlineShape
Dim inlineShapes1 As InlineShapes
returnValue = inlineShapes1.AddPictureBullet(FileName, Range)

Syntax

Function AddPictureBullet( _
    <InAttribute()> ByVal FileName As String, _
    <InAttribute()> Optional ByRef Range As Object _
) As InlineShape
InlineShape AddPictureBullet(
    [In] string FileName, 
    [In, Optional] ref object Range
);
public: InlineShape^ AddPictureBullet(
    String^ FileName, 
    &Object^ Range
);
public InlineShape AddPictureBullet(
    /*in*/System.String FileName, 
    /*in*/System.Object Range
);
function AddPictureBullet(
     FileName : String, 
     Range : Object
) : InlineShape;

Parameters

  • FileName
    Required String. The file name of the image you want to use for the picture bullet.
  • Range
    Optional Object. 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.

Remarks

This method returns a InlineShape object.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

InlineShapes Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

InlineShapes Members