Message-ID: <54781844.10151.1711714719363.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_10150_485030208.1711714719363" ------=_Part_10150_485030208.1711714719363 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Workbook.ReadOnly

Workbook.ReadOnly

Description

Determines whether the workbook can only be opened in read-only mode= .=20
C#
=20
public boolean ReadOnly{ get; set; }
=20
=20
vb.net
=20
Public Property ReadOnly() As Boolean
=20
=20

Examples

=20
C#
=20
          //--- Get the ReadOnly value for the workbook
          bool readOnly =3D wb.ReadOnly;

          //--- Set the ReadOnly value for the workbook
          wb.ReadOnly =3D true;
        
=20
vb.net
=20
          '--- Get the ReadOnly value for the workbook
          Dim readOnly As Boolean =3D wb.ReadOnly

          '--- Set the ReadOnly value for the workbook
          wb.ReadOnly =3D True
        
=20
------=_Part_10150_485030208.1711714719363--