InlineShape.Reset method (Word)

Removes changes that were made to an inline shape.

Syntax

expression. Reset

expression Required. A variable that represents an 'InlineShape' object.

Example

This example inserts a picture as an inline shape, changes the brightness, and then resets the picture to its original brightness.

Set aInLine = ActiveDocument.InlineShapes.AddPicture _ 
 (FileName:="C:\Windows\Bubbles.bmp", Range:=Selection.Range) 
aInLine.PictureFormat.Brightness = 0.5 
MsgBox "Changing brightness back" 
aInLine.Reset

See also

InlineShape Object

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.