[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Export.Excel.Section.XlsSecurity

XlsSecurity Class

Encapsulates the information necessary to provide excel document security and encryption.

Inheritance
XlsSecurity
Namespace: GrapeCity.ActiveReports.Export.Excel.Section
Assembly: MESCIUS.ActiveReports.Export.Excel.dll
Syntax
[TypeConverter(typeof(ExpandableObjectConverter))]
public class XlsSecurity
Remarks

If a WritePassword or a Password is supplied the Excel application will prompt for a write or open access password. If a WritePassword or a Password is not supplied no password will be requested to open the document. By correctly supplying the Password, the user will be able to open the document. By correctly supplying the WritePassword, the user will be able to write the document. If the read only recommended is set to true, the Excel application will prompt user whether to open document as read-only.

Properties

Name Description
Password

Gets or sets the password which can be entered to permit to open Excel document.

ProtectedBy

Gets or sets the User Name responsible to password protect the excel spreadsheet.

ReadOnlyRecommended

Gets or sets the value to indicate if the Excel file was saved as read only recommended.

WritePassword

Gets or sets the write password of the Excel file.