Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel Namespace / IWorkbook Interface
Properties Methods Events

In This Topic
    IWorkbook Interface Members
    In This Topic

    The following tables list the members exposed by IWorkbook.

    Public Properties
     NameDescription
     Property Returns an object that represents the active sheet (the sheet on top) in the active workbook or in the specified window or workbook. Returns null if no sheet is active (read-only).  
     Property Gets or sets whether allow dynamic array formula.  
     Property Determines whether to automatically parse when setting a range value to a string value.  
     Property Determines whether to round the number to 15 significant figures when getting the value.  
     Property Returns an object that represents the view settings of this workbook(read-only).  
     Property Gets a collection that represents all the built-in document properties of the workbook.  
     Property [Init-only] Gets or sets culture for the workbook. The culture must contain both country/region and language.  
     Property Gets a collection that represents all the custom document properties of the workbook.  
     Property Gets the custom views of the workbook.  
     PropertySpecifies the table style name from the ITableStyleCollection collection that is used as the default TableStyle (read/write).  
     Property Gets or sets whether update the dirty state of the formula cells immediately when changing the value of a cell.  
     Property Gets or sets whether the calculation engine is valid.  
     Property Returns the name of the workbook, including its path on disk.  
     Property Provides graphics information. If this property doesn't have value, the workbook will use built-in graphic information.  
     Property Gets or sets a string value that represents the name of the workbook.  
     PropertyReturns the INames collection that represents the workbook-specified names. This is a read-only INames object.  
     PropertyReturns the IExcelOptions object that represents some settings to control workbook behavior.  
     Property Gets or sets a string that represents the path to the workbook file that this workbook object represents.  
     PropertyReturns the IPivotCaches collection that represents all the IPivotTable caches in the specified workbook (read-only).  
     Property True if the order of the sheets in the workbook is protected. Read-only Boolean.  
     Property True if the windows of the workbook are protected. Read-only Boolean.  
     Property Gets or sets the reference style.  
     Property Determines whether to reset adjacent range's border when setting border for a range. The default value of this property is true.  
     PropertyReturns a IWorksheets collection that represents all the selected sheets in the specified workbook.  
     Property Gets or sets a value indicating whether the PivotTable field list can be shown. Default is true.  
     Property Gets a collection of Signature objects that correspond to the digital signature attached to a document.  
     PropertyGets the ISlicerCaches object associated with the workbook.  
     PropertyReturns the IStyleCollection collection that represents all the styles in the specified workbook (read-only).  
     PropertyReturns the ITableStyleCollection collection object for the current workbook that refers to the styles used in the current workbook (read-only).  
     Property Returns or sets the theme applied to the current workbook.  
     PropertyReturns the IWorksheets collection that represents all the worksheets in the specified workbook. This is a read-only Sheets object.  
     Property Provides access to the workbook write protection options.  
    Top
    Public Methods
     NameDescription
     Method Add data source for template.  
     Method Calculates formulas of the workbook as needed.  
     MethodConvert the calculated barcodes to pictures and place them in their respective positions. The original barcode formulas will be cleared.
    Not support GrapeCity.Documents.Excel.Drawing.ImageType.EMF and GrapeCity.Documents.Excel.Drawing.ImageType.WMF image types.  
     Method Designates all the formulas of the workbook to be recalculated when the next calculation occurs.  
     MethodOverloaded.  Generates a workbook from a JSON string.  
     MethodOverloaded.  Generates a workbook from a JSON string containing the contents of .sjs file format.  
     MethodOverloaded.  Process the template and return the instance of report workbook.  
     Method Returns the names of the linked excel documents.  
     Method Gets all fonts information that used on workbook.  
     MethodOverloaded.  Specifies whether the file is password protected.  
     MethodOverloaded.  Opens the file.  
     Method Prints the workbook.  
     MethodOverloaded.  Start to process the template  
     MethodOverloaded.  Protects a workbook so that it cannot be modified.  
     MethodOverloaded.  Saves the workbook to the disk.  
     MethodOverloaded.  Generates a JSON string from a workbook.  
     MethodOverloaded.  Integrates all JSON files from the SJS file into a single string, then put the string into the stream.  
     Method Removes protection from the workbook.  
     MethodOverloaded.  Updates a excel link.  
     Method Updates all the excel links.  
     Method Waits for all calculation to complete, including asynchronous calculations. This method blocks the current thread until all calculations have finished. Users can call this method to ensure that all necessary computations have been performed before proceeding with any other operations that depend on the calculation results.  
    Top
    Public Events
     NameDescription
     Event Occurs after the workbook is saved.  
     Event Occurs before the workbook is saved.  
     Event Occurs when a new sheet is created in the workbook.  
     Event Occurs when the workbook is opened.  
     Event Occurs when a sheet is activate.  
     Event Occurs before a sheet is deleted.  
     Event Occurs when something changes in the cells of a sheet.  
     Event Occurs when a sheet is deactivated.  
     Event Occurs when the selection changes on a sheet.  
    Top
    See Also