TopLeftToBottomRightCellBorder Class
Table Cell Top Left to Bottom Right Diagonal Border.When the object is serialized out as xml, its qualified name is w:tl2br.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.BorderType
DocumentFormat.OpenXml.Wordprocessing.TopLeftToBottomRightCellBorder
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Class TopLeftToBottomRightCellBorder _
Inherits BorderType
'Usage
Dim instance As TopLeftToBottomRightCellBorder
public class TopLeftToBottomRightCellBorder : BorderType
Remarks
[ISO/IEC 29500-1 1st Edition]
17.4.74 tl2br (Table Cell Top Left to Bottom Right Diagonal Border)
This element specifies the border which shall be displayed on the top left side to bottom right diagonal within the current table cell.
If this element is omitted, then the top left to bottom right 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 first cell in the first row specifies a top left to bottom right 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:tl2br w:val="double" w:sz="4" w:space="0" w:color="FF0000"/> </w:tcBorders> </w:tcPr> <w:p/> </w:tc>
The tl2br 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.
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.