See Also

Document Class  | Document Members

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports.Viewer Send feedback to Data Dynamics

Password Property

Gets or sets a password string used to protect the saved document file.

[Visual Basic]
Public Property Password As String
[C#]
public string Password {get; set;}

Return Type

String.

Remarks

The password is used with the ActiveReports RDF file format.

Example

[C#] 

private void btnSave_Click(object sender, System.EventArgs e) 

    arv.Document.Password = "Mortimer"; 
    arv.Document.Save(Application.StartupPath + "\\Document.rdf"); 
}

[Visual Basic] 

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

See Also

Document Class  | Document Members

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.