Row.SetHeight(Single, WdRowHeightRule) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置表格行的高度。
public:
void SetHeight(float RowHeight, Microsoft::Office::Interop::Word::WdRowHeightRule HeightRule);
public void SetHeight (float RowHeight, Microsoft.Office.Interop.Word.WdRowHeightRule HeightRule);
abstract member SetHeight : single * Microsoft.Office.Interop.Word.WdRowHeightRule -> unit
Public Sub SetHeight (RowHeight As Single, HeightRule As WdRowHeightRule)
参数
- RowHeight
- Single
必需 单一。 一行或多行的高度,以磅为单位。
- HeightRule
- WdRowHeightRule
必需 WdRowHeightRule。 用于确定指定行的高度的规则。WdRowHeightRule 可以是以下常量之一:wdRowHeightAtLeastwdRowHeightExactlywdRowHeightAuto