TopRightToBottomLeftCellBorder Class

Table Cell Top Right to Bottom Left Diagonal Border.When the object is serialized out as xml, its qualified name is w:tr2bl.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.BorderType
        DocumentFormat.OpenXml.Wordprocessing.TopRightToBottomLeftCellBorder

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

声明
Public Class TopRightToBottomLeftCellBorder _
    Inherits BorderType
用法
Dim instance As TopRightToBottomLeftCellBorder
public class TopRightToBottomLeftCellBorder : BorderType

Remarks

[ISO/IEC 29500-1 第 1 个版本]

17.4.80 tr2bl (Table Cell Top Right to Bottom Left Diagonal Border)

This element specifies the border which shall be displayed on the top right to bottom left diagonal within the current table cell.

If this element is omitted, then the top right to bottom left diagonal of this table cell shall not have a cell border, and its border can use the table's border settings as appropriate.

[Example: Consider a table in which the second cell in the second row specifies a top right to bottom left diagonal cell border as follows:

R1C1

R1C2

R2C1

R2C2

This diagonal cell border is specified using the following WordprocessingML:

<w:tc>
<w:tcPr>
…
<w:tcBorders>
<w:tr2bl w:val="double" w:sz="4" w:space="0" w:color="FF0000"/>
</w:tcBorders>
</w:tcPr>
<w:p/>
</w:tc>

The tr2bl element specifies a point border of type double on the table cell's diagonal. end example

Parent Elements

tcBorders (§17.4.67)

This element's content model is defined by the common border properties definition in §17.3.4.

© ISO/IEC29500: 2008. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,ISO 对此翻译不承担任何责任。

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.

See Also

Reference

TopRightToBottomLeftCellBorder Members

DocumentFormat.OpenXml.Wordprocessing Namespace