Freigeben über


Borders-Klasse

Borders.When the object is serialized out as xml, its qualified name is x:borders.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Spreadsheet.Borders

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Border))> _
Public Class Borders _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Borders
[ChildElementInfoAttribute(typeof(Border))]
public class Borders : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:

  • Border <x:border>

[ISO/IEC 29500-1 1. Ausgabe]

18.8.5 borders (Borders)

This element contains borders formatting information, specifying all border definitions for all cells in the workbook.

[Example:In this example the first border definition specifies that there are no borders, the second definition specifies that a there is a thin bottom border and medium right border, and the third definition specifies that there is a double top border.

<borders count="3">
<border>
<left/>
<right/>
<top/>
<bottom/>
<diagonal/>
</border>
  <border>
<left/>
<right style="medium">
<color indexed="64"/>
</right>
    <top/>
    <bottom style="thin">
<color indexed="64"/>
</bottom>
<diagonal/>
</border>
  <border>
<left/>
<right/>
<top style="double">
<color auto="1"/>
</top>
    <bottom/>
<diagonal/>
</border>
</borders>

end example]

Parent Elements

styleSheet (§18.8.39)

Child Elements

Subclause

border (Border)

§18.8.4

Attributes

Description

count (Border Count)

Count of border elements.

The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.

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

© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

Borders-Member

DocumentFormat.OpenXml.Spreadsheet-Namespace