Partager via


BulletFormat.Picture Method (PowerPoint)

Sets the graphics file to be used for bullets in a bulleted list when the Type property of the BulletFormat object is set to ppBulletPicture.

Syntax

expression .Picture

expression A variable that represents a BulletFormat object.

Remarks

Valid graphics files include files with the following extensions: .bmp, .cdr, .cgm, .drw, .dxf, .emf, .eps, .gif, .jpg, .jpeg, .pcd, .pct, .pcx, .pict, .png, .tga, .tiff, .wmf, and .wpg.

Example

This example sets the bullets in the text box specified by shape two on slide one to a bitmap picture of a blue rivet.

With ActivePresentation.Slides(1).Shapes(2).TextFrame

    With .TextRange.ParagraphFormat.Bullet

        .Type = ppBulletPicture

        .Picture ("C:\Windows\Blue Rivets.bmp")

    End With

End With

See Also

Concepts

BulletFormat Object Members

BulletFormat Object