ShowPicturePlaceHolders Property

Microsoft Word Visual Basic

ShowPicturePlaceHolders Property

       

True if blank boxes are displayed as placeholders for pictures. Read/write Boolean.

expression.ShowPicturePlaceHolders

expression   Required. An expression that returns a View object.

Example

This example inserts a picture in the active document and displays picture placeholders in the active window.

Selection.Collapse Direction:=wdCollapseStart
ActiveDocument.InlineShapes.AddPicture Range:=Selection.Range, _
    FileName:="C:\Windows\Bubbles.bmp"
ActiveDocument.ActiveWindow.View.ShowPicturePlaceHolders = True