Share via


HorizontalMerge.Val 属性

定义

水平合并类型

表示架构中的以下属性:w:val

[DocumentFormat.OpenXml.SchemaAttr(23, "val")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.MergedCellValues> Val { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.MergedCellValues> Val { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "val")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.MergedCellValues>? Val { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:val")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.MergedCellValues>? Val { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.MergedCellValues>? Val { get; set; }
member this.Val : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.MergedCellValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "val")>]
member this.Val : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.MergedCellValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:val")>]
member this.Val : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.MergedCellValues> with get, set
Public Property Val As EnumValue(Of MergedCellValues)

属性值

返回 EnumValue<T>

属性

注解

使用此类时,ECMA 国际标准 ECMA-376 中的以下信息可能很有用。

指定表格单元格如何成为水平合并区域的一部分。 这将确定该单元格是应联接到合并单元格的现有分组(如果有),还是启动一组新的合并单元格。 有关每种类型的完整说明,请参阅简单的类型定义。

如果省略此属性,则其值应假定为 continue

请考虑一个表格单元格,其中水平单元格合并开始表示为以下 WordprocessingML:

<w:tcPr>  
    <w:hmerge w:val="restart"/>  
</w:tcPr>  

restart 属性值指定此元素应在此表中启动新的水平合并区域。

此属性的可能值由 ST_Merge 简单类型定义。

适用于