ActiveReports 15 .NET Edition
GrapeCity.ActiveReports.Document Assembly / GrapeCity.ActiveReports.Document Namespace / SectionDocument Class / Name Property
Example

In This Topic
    Name Property (SectionDocument)
    In This Topic
    Gets or sets the name of the document.
    Syntax
    'Declaration
     
    Public Overrides Property Name As String
    public override string Name {get; set;}

    Property Value

    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
    private void btnPrint_Click(object sender, System.EventArgs e)
    {
        arv.Document.Name = System.Windows.Forms.SystemInformation.UserName;
        arv.Document.Print();
    }
    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