GrapeCity.ActiveReports.Document.v9 Assembly > GrapeCity.ActiveReports.Document Namespace > SectionDocument Class : Password Property |
'Declaration Public Property Password As System.String
public System.string Password {get; set;}
private void btnSave_Click(object sender, System.EventArgs e) { arv.Document.Password = "Mortimer"; arv.Document.Save(Application.StartupPath + "\\Document.rdf"); }
Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click arv.Document.Password = "Mortimer" arv.Document.Save(Application.StartupPath & "Document.rdf") End Sub
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2