Поделиться через


TopBorder Class

Top Border.When the object is serialized out as xml, its qualified name is a:top.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.ThemeableLineStyleType
        DocumentFormat.OpenXml.Drawing.TopBorder

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

Syntax

'Декларация
Public Class TopBorder _
    Inherits ThemeableLineStyleType
'Применение
Dim instance As TopBorder
public class TopBorder : ThemeableLineStyleType

Remarks

The following table lists the possible child types:

  • Outline <a:ln>

  • LineReference <a:lnRef>

[ISO/IEC 29500-1 редакция 1]

20.1.4.2.32 top (Top Border)

This element defines the line properties associated with the top border in a table cell.

[Example: Consider the following example of the top border in use within DrawingML:

<top>
<ln w="12700" cmpd="sng">
<solidFill>
<schemeClr val="accent1"/>
</solidFill>
</ln>
</top>

In this example, we see the top border on a table cell to be a single 1pt line which is colored accent 1. end example]

Parent Elements

tcBdr (§20.1.4.2.28)

Child Elements

Subclause

ln (Outline)

§20.1.2.2.24

lnRef (Line Reference)

§20.1.4.2.19

[Note: The W3C XML Schema definition of this element's content model (CT_ThemeableLineStyle) is located in §A.4.1. end note]

© ISO/IEC29500: 2008. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и 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

TopBorder Members

DocumentFormat.OpenXml.Drawing Namespace