Click or drag to resize

XlsWorkbook Properties

The XlsWorkbook type exposes the following members.

Properties
Name Description
Public property ActiveSheet
Gets the active worksheet.
Public property ActiveSheetIndex
Gets or sets the index of the active worksheet in the workbook.
Public property AddInFunctions
Returns collection of add-in functions. Read-only.
Public property Allow3DRangesInDataValidation
Indicates whether to allow usage of 3D ranges in DataValidation list property (MS Excel doesn't allow).
Public property ArgumentsSeparator
Formula arguments separator.
Public property Author
Returns or sets the author of the comment. Read / write String.
Public property BuiltInDocumentProperties
Returns collection that represents all the built-in document properties for the specified workbook. Read-only.
Public property Charts
Collection of the chart objects.
Public property Chartsheets
Gets the list of chart sheets.
Public property CodeName
Gets or sets the code name of the worksheets.
Public property CurrentHeaderId
First free shape id.
Public property CurrentObjectId
Current object id.
Public property CurrentShapeId
First free shape id.
Public property CustomDocumentProperties
Returns collection that represents all the custom document properties for the specified workbook. Read-only.
Public property DataConns
Gets the data connections associated with the workbook.
Public property Date1904
Gets or sets a value indicating whether the workbook should use the 1904 date system.
Public property DefaultXFIndex
Returns index to the default extended format.
Public property DetectDateTimeInValue
Indicates whether library should try to detect string value passed to Value (and Value2) property as DateTime. Setting this property to false can increase performance greatly for such operations especially on Framework 1.0 and 1.1. Default value is true.
Public property DisableMacrosStart
Gets or sets a value indicating whether macros are disabled at the start.
Public property DisplayedTab
Index of the tab which will be displayed on document open.
Public property DisplayWorkbookTabs
Indicates whether workbook tabs are visible.
Public property ExternalLinks
Gets the collection of external links in the workbook.
Public property FirstCharSize
Gets or sets the size of the first character.
Public property FullFileName
Gets or sets the full file name of the workbook.
Public property HasDuplicatedNames
Gets or sets a value indicating whether the names are duplicated.
Public property HasMacros
Gets or sets a value indicating whether the workbook has macros.
Public property InnerAddInFunctions
Gets the collection of add-in functions.
Public property InnerFonts
Gets the collection of fonts used within the spreadsheet.
Public property InnerGraphics
Gets the inner graphics object.
Public property InnerPalette
Gets the inner palette of colors.
Protected property InnerWorksheets
Gets the inner worksheets collection.
Public property IsCellProtection
True if cells are protected.
Public property IsDisplayPrecision
Indicates whether the workbook uses precision.
Public property IsHScrollBarVisible
Gets/Sets value to display horizontal scrollbar
Public property IsLoaded
Gets a value indicating whether the object is loaded.
Public property IsRightToLeft
Indicates whether worksheet is displayed right to left.
Public property IsVScrollBarVisible
Gets/Sets value to display vertical scrollbar
Public property IsWindowProtection
True if window is protected.
Public property Loading
Gets or sets a value indicating whether the current instance is in a loading state. This property is internal and can only be accessed within the same assembly.
Public property MaxColumnCount
Returns maximum column count for each worksheet in this workbook. Read-only.
Public property MaxDigitWidth
Gets the maximum width of a digit in the current font and size.
Public property MaxIndent
Gets the maximum indentation level.
Public property MaxRowCount
Returns maximum row count for each worksheet in this workbook. Read-only.
Public property MaxXFCount
Returns maximum possible number of extended formats. Read-only.
Public property Names
For an ReservedHandle object, it returns a Names collection that represents all the names in the active workbook. For a Workbook object, it returns a Names collection that represents all the names in the specified workbook (including all worksheet-specific names).
Public property ObjectCount
Gets the count of objects in the collection.
Protected property Objects
Gets or sets the collection of objects in the workbook.
Public property OleSize
Gets or sets the OleSize property.
Public property Palette
Gets the color palette.
Public property Parent
Reference to Parent object. Read-only.
(Inherited from XlsObject .)
Public property PasswordToOpen
Gets / sets password to encrypt document.
Public property ReadOnly
True if the workbook has been opened as Read-only. Read-only Boolean.
Public property ReadOnlyRecommended
True to display a message when the file is opened, recommending that the file be opened as read-only.
Protected property ReferenceCount
Get quantity of instance references.
(Inherited from XlsObject .)
Public property RowSeparator
Gets / sets row separator for array parsing.
Public property Saved
Gets or sets a value indicating whether the object has been saved.
Public property Saving
Gets or sets a value indicating whether the object is currently in a saving state.
Public property SecondCharSize
Gets or sets the size of the second character.
Public property StandardFont
Gets or sets the standard font for the workbook.
Public property StandardFontSize
Gets or sets the standard font size for the workbook.
Public property StandardRowHeight
Gets or sets the standard row height for all worksheets in the workbook.
Public property StandardRowHeightInPixels
Gets or sets the standard row height in pixels.
Public property Styles
Returns a Styles collection that represents all the styles in the specified workbook. Read-only.
Public property TabSheets
Returns collection with all tabsheets in the workbook. Read-only.
Public property ThrowOnUnknownNames
ThrowOnUnknownNames
Public property Version
Gets or sets the Excel version of the workbook.
Public property Worksheets
Returns a Sheets collection that represents all the worksheets in the specified workbook. Read-only Sheets object.
Top
See Also