Location Class
PivotTable Location.When the object is serialized out as xml, its qualified name is x:location.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Spreadsheet.Location
Namespace: DocumentFormat.OpenXml.Spreadsheet
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Декларация
Public Class Location _
Inherits OpenXmlLeafElement
'Применение
Dim instance As Location
public class Location : OpenXmlLeafElement
Remarks
[ISO/IEC 29500-1 редакция 1]
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. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и 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.