共用方式為


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

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

Remarks

[ISO/IEC 29500-1 1st Edition]

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.

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