Back to Devexpress

Document.Name Property

corelibraries-devexpress-dot-xtraprinting-dot-document-13b3cbd4.md

latest2.5 KB
Original Source

Document.Name Property

Specifies the document name.

Namespace : DevExpress.XtraPrinting

Assembly : DevExpress.Printing.v25.2.Core.dll

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
public string Name { get; set; }
vb
Public Property Name As String

Property Value

TypeDescription
String

A String value.

|

Remarks

This name is displayed in the Save File dialog window and is used as a file name on document export.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Name property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

reporting-web-mvc-email-report/CS/CustomDocumentOperationService/Services/CustomDocumentOperationService.cs#L47

csharp
Message = "Mail was sent successfully",
    DocumentId = printingSystemWithEditingFields.Document.Name
};

reporting-web-mvc-email-report/VB/CustomDocumentOperationService/Services/CustomDocumentOperationService.vb#L44

vb
.Message = "Mail was sent successfully",
    .DocumentId = printingSystemWithEditingFields.Document.Name
}

See Also

Document Class

Document Members

DevExpress.XtraPrinting Namespace