Cell.HeightRule Property
Returns or sets the rule for determining the height of the specified cell.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Dim cell1 As Cell
Dim returnValue As WdRowHeightRule
returnValue = cell1.HeightRule
Dim sampleValue As WdRowHeightRule
cell1.HeightRule = sampleValue
Syntax
Property HeightRule() As WdRowHeightRule
WdRowHeightRule HeightRule {get; set;}
property WdRowHeightRule^ HeightRule{
WdRowHeightRule^ get();
Void set(WdRowHeightRule^);
}
public WdRowHeightRule get_HeightRule();
public void set_HeightRule(WdRowHeightRule);
function get HeightRule() : WdRowHeightRule;
function set HeightRule(WdRowHeightRule);
Remarks
Setting the HeightRule property of a Cell object automatically sets the property for the entire row.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
Cell Interface
Microsoft.Office.Interop.Word Namespace