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

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.