Share via


Cells.Height Property

Returns or sets the height of the specified cells in a table.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property Height As Single
    Get
    Set
'Usage
Dim instance As Cells
Dim value As Single

value = instance.Height

instance.Height = value
float Height { get; set; }

Property Value

Type: System.Single

Remarks

If the HeightRule property of the specified row is wdRowHeightAuto, Height returns wdUndefined; setting the Height property sets HeightRule to wdRowHeightAtLeast.

See Also

Reference

Cells Interface

Cells Members

Microsoft.Office.Interop.Word Namespace