Shape.Height Property (Word)

Returns or sets the height (in points) of the specified shape. Read/write Single .

Syntax

expression. Height

expression A variable that represents a 'Shape' object.

Example

This example inserts a picture as an inline shape and changes the height and width of the image.

Dim aInLine As Shape 
 
Set aInLine = ActiveDocument.InlineShapes.AddPicture( _ 
 FileName:="C:\Windows\Bubbles.bmp", Range:=Selection.Range) 
 
With aInLine 
 .Height = 100 
 .Width = 200 
End With

See also

Shape Object