Compartir a través de


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)

Syntax

'Declaration
Function AddPictureBullet ( _
    FileName As String, _
    ByRef Range As Object _
) As InlineShape
'Usage
Dim instance As InlineShapes
Dim FileName As String
Dim Range As Object
Dim returnValue As InlineShape

returnValue = instance.AddPictureBullet(FileName, _
    Range)
InlineShape AddPictureBullet(
    string FileName,
    ref Object Range
)

Parameters

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

Return Value

Type: Microsoft.Office.Interop.Word.InlineShape

Remarks

This method returns a InlineShape object.

See Also

Reference

InlineShapes Interface

InlineShapes Members

Microsoft.Office.Interop.Word Namespace