officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-documentproperties-33126df8.md
Gets or sets the document’s title.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
string Title { get; set; }
Property Title As String
| Type | Description |
|---|---|
| String |
A string of text.
|
The Title property allows you to specify one of the core document properties, a full set of which is available with the Document.DocumentProperties property. To specify a custom document property, use the Document.CustomProperties property.
End-users can edit the Title value in the Document Properties Dialog.
Use the TITLE field to insert the Title value in the document.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Title 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.
winforms-richedit-document-api/CS/RichEditAPISample/CodeExamples/DocumentProperties.cs#L16
document.DocumentProperties.Creator = "John Doe";
document.DocumentProperties.Title = "Inserting Custom Properties";
document.DocumentProperties.Category = "TestDoc";
document.DocumentProperties.Creator = "John Doe";
document.DocumentProperties.Title = "Inserting Custom Properties";
document.DocumentProperties.Category = "TestDoc";
word-document-api-examples/CS/CodeExamples/DocumentPropertiesActions.cs#L27
document.DocumentProperties.Creator = "John Doe";
document.DocumentProperties.Title = "Inserting Custom Properties";
document.DocumentProperties.Category = "TestDoc";
winforms-richedit-document-api/VB/RichEditAPISample/CodeExamples/DocumentProperties.vb#L16
document.DocumentProperties.Creator = "John Doe"
document.DocumentProperties.Title = "Inserting Custom Properties"
document.DocumentProperties.Category = "TestDoc"
document.DocumentProperties.Creator = "John Doe"
document.DocumentProperties.Title = "Inserting Custom Properties"
document.DocumentProperties.Category = "TestDoc"
word-document-api-examples/VB/CodeExamples/DocumentPropertiesActions.vb#L25
document.DocumentProperties.Creator = "John Doe"
document.DocumentProperties.Title = "Inserting Custom Properties"
document.DocumentProperties.Category = "TestDoc"
See Also