Freigeben über


Location-Klasse

PivotTable Location.When the object is serialized out as xml, its qualified name is x:location.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Spreadsheet.Location

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

Syntax

'Declaration
Public Class Location _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As Location
public class Location : OpenXmlLeafElement

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

18.10.1.49 location (PivotTable Location)

Represents location information for the PivotTable.

[Example:

<location ref="B6:G13" firstHeaderRow="1" firstDataRow="4" firstDataCol="1"
rowPageCount="3" colPageCount="1"/>

end example]

Parent Elements

pivotTableDefinition (§18.10.1.73)

Attributes

Description

colPageCount (Columns Per Page)

Specifies the number of columns per page for this PivotTable that the filter area will occupy. By default there is a single column of filter fields per page and the fields occupy as many rows as there are fields.

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

firstDataCol (First Data Column)

Specifies the first column of the PivotTable data, relative to the top left cell in the ref value.

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

firstDataRow (PivotTable Data First Row)

Specifies the first row of the PivotTable data, relative to the top left cell in the ref value.

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

firstHeaderRow (First Header Row)

Specifies the first row of the PivotTable header, relative to the top left cell in the ref value.

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

ref (Reference)

Specifies the first row of the PivotTable.

The possible values for this attribute are defined by the ST_Ref simple type (§18.18.62).

rowPageCount (Rows Per Page Count)

Specifies the number of rows per page for this PivotTable that the filter area will occupy. By default there is a single column of filter fields per page and the fields occupy as many rows as there are fields.

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_Location) 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

Location-Member

DocumentFormat.OpenXml.Spreadsheet-Namespace