See Also

Document Class  | Document Members

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports.Viewer Send feedback to Data Dynamics

Name Property

Gets or sets the name of the document.

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

Return Type

A string value that represents the name of the document.

Remarks

The name of the document appears in the print job listing of the printer when the document is printed.

Example

[C#] 

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

    arv.Document.Name = System.Windows.Forms.SystemInformation.UserName; 
    arv.Document.Print(); 
}

[Visual Basic] 

Private Sub btnPrint_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPrint.Click
    arv.Document.Name = System.Windows.Forms.SystemInformation.UserName
    arv.Document.Print()
End Sub

See Also

Document Class  | Document Members

 

 


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