Picture Method

Microsoft PowerPoint Visual Basic

Picture Method

       

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.

expression.Picture (Picture)

expression    Required. An expression that returns a BulletFormat object of type ppBulletPicture.

Picture    Required String. The path and file name of a valid graphics file.

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