BookViews Class
Workbook Views.When the object is serialized out as xml, its qualified name is x:bookViews.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Spreadsheet.BookViews
Namespace: DocumentFormat.OpenXml.Spreadsheet
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
<ChildElementInfoAttribute(GetType(WorkbookView))> _
Public Class BookViews _
Inherits OpenXmlCompositeElement
用法
Dim instance As BookViews
[ChildElementInfoAttribute(typeof(WorkbookView))]
public class BookViews : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
- WorkbookView <x:workbookView>
[ISO/IEC 29500-1 第 1 个版本]
18.2.1 bookViews (Workbook Views)
This element specifies the collection of workbook views of the enclosing workbook. Each view can specify a window position, filter options, and other configurations. There is no limit on the number of workbook views that can be defined for a workbook.
[Example:
<bookViews>
<workbookView showHorizontalScroll="0" showVerticalScroll="0"
showSheetTabs="0" xWindow="120" yWindow="45" windowWidth="15135"
windowHeight="8130" activeTab="2" autoFilterDateGrouping="0"/>
</bookViews>
end example]
Parent Elements |
---|
workbook (§18.2.27) |
Child Elements |
Subclause |
---|---|
workbookView (Workbook View) |
§18.2.30 |
[Note: The W3C XML Schema definition of this element's content model (CT_BookViews) is located in §A.2. end note]
© ISO/IEC29500: 2008. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,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.