Share via


SheetDimension Class

Worksheet Dimensions.When the object is serialized out as xml, its qualified name is x:dimension.

Inheritance Hierarchy

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

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

Syntax

'宣言
Public Class SheetDimension _
    Inherits OpenXmlLeafElement
'使用
Dim instance As SheetDimension
public class SheetDimension : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 初版]

18.3.1.35 dimension (Worksheet Dimensions)

This element specifies the used range of the worksheet. It specifies the row and column bounds of used cells in the worksheet. This is optional and is not required. Used cells include cells with formulas, text content, and cell formatting. When an entire column is formatted, only the first cell in that column is considered used.

[Example:

<dimension ref="A1:C2"/>

end example]

Parent Elements

worksheet (§18.3.1.99)

Attributes

Description

ref (Reference)

The row and column bounds of all cells in this worksheet. Corresponds to the range that would contain all c elements written under sheetData. Does not support whole column or whole row reference notation.

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

[Note: The W3C XML Schema definition of this element's content model (CT_SheetDimension) 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.

See Also

Reference

SheetDimension Members

DocumentFormat.OpenXml.Spreadsheet Namespace