New Method

Applies To

InlineShapes collection object.

Description

Inserts an empty, 1-inch-square Word picture object surrounded by a border. This method returns the new graphic as an InlineShape object.

Syntax

expression.New(Range)

expression Required. An expression that returns an InlineShapes object.

Range Required Range object. The location of the new graphic.

Example

This example inserts a new, empty picture in the active document and applies a shadow border around the picture.

Set myPic = ActiveDocument.InlineShapes.New(Range:=Selection.Range)
myPic.Borders.Shadow = True
ActiveWindow.View.ShowFieldCodes = False