←Select platform

ReadOnly Property

Summary

Gets or sets a value indicating whether the Excel workbook should be opened in read-only mode. When set to true, the workbook can be accessed and read without allowing modifications to be saved back to the original file. This property is particularly useful for applications that require data analysis or viewing without the need of altering the workbook content.

Syntax

C#
C++/CLI
Python
public bool ReadOnly { get; set; } 
public:  
   property bool ReadOnly 
   { 
      bool get() 
      void set(bool value) 
   } 
ReadOnly # get and set (LoadWorkbookOptions) 

Property Value

A boolean value where true opens the workbook in read-only mode, and false allows for both reading and writing operations.

Requirements

Target Platforms

See Also

LoadWorkbookOptions Class

LoadWorkbookOptions Members

Leadtools.Document.LEADOffice.Sheet Namespace

Help Version 23.0.2024.4.15
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.LEADOffice Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.