InlineShape Property

Applies To

Field object.

Description

Returns an InlineShape object that represents the picture, OLE object, or ActiveX control that is the result of an INCLUDEPICTURE or EMBED field. Read-only.

Remarks

An InlineShape object is treated like a character and is positioned as a character within a line of text.

See Also

LinkFormat property, OLEFormat property.

Example

This example returns the width of the inline shape associated with the first field in the active document. For this example to work, the field must be an INCLUDEPICTURE field.

If ActiveDocument.Fields(1).Type = wdFieldIncludePicture Then
    MsgBox ActiveDocument.Fields(1).InlineShape.Width
End If