Cells.SetHeight(Object, WdRowHeightRule) 方法

定义

设定表格单元格的高度。

public:
 void SetHeight(System::Object ^ % RowHeight, Microsoft::Office::Interop::Word::WdRowHeightRule HeightRule);
public void SetHeight (ref object RowHeight, Microsoft.Office.Interop.Word.WdRowHeightRule HeightRule);
abstract member SetHeight : obj * Microsoft.Office.Interop.Word.WdRowHeightRule -> unit
Public Sub SetHeight (ByRef RowHeight As Object, HeightRule As WdRowHeightRule)

参数

RowHeight
Object

一行或多行的高度,以磅为单位。

HeightRule
WdRowHeightRule

确定指定单元格高度的方法。

注解

设置对象的 SetHeight 属性 Cells 会自动设置整行的属性。

适用于