Field.InlineShape property (Word)
Returns an InlineShape object that represents the picture, OLE object, or ActiveX control that is the result of an INCLUDEPICTURE or EMBED field.
Syntax
expression. InlineShape
expression An expression that returns a 'Field' object.
Remarks
An InlineShape object is treated like a character and is positioned as a character within a line of text.
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
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for