Back to Devexpress

DocumentProperties.Title Property

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-documentproperties-33126df8.md

latest5.0 KB
Original Source

DocumentProperties.Title Property

Gets or sets the document’s title.

Namespace : DevExpress.XtraRichEdit.API.Native

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
string Title { get; set; }
vb
Property Title As String

Property Value

TypeDescription
String

A string of text.

|

Remarks

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

csharp
document.DocumentProperties.Creator = "John Doe";
document.DocumentProperties.Title = "Inserting Custom Properties";
document.DocumentProperties.Category = "TestDoc";

wpf-richedit-document-api/CS/DXRichEditControlAPISample/CodeExamples/DocumentPropertiesActions.cs#L19

csharp
document.DocumentProperties.Creator = "John Doe";
document.DocumentProperties.Title = "Inserting Custom Properties";
document.DocumentProperties.Category = "TestDoc";

word-document-api-examples/CS/CodeExamples/DocumentPropertiesActions.cs#L27

csharp
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

vb
document.DocumentProperties.Creator = "John Doe"
document.DocumentProperties.Title = "Inserting Custom Properties"
document.DocumentProperties.Category = "TestDoc"

wpf-richedit-document-api/VB/DXRichEditControlAPISample/CodeExamples/DocumentPropertiesActions.vb#L16

vb
document.DocumentProperties.Creator = "John Doe"
document.DocumentProperties.Title = "Inserting Custom Properties"
document.DocumentProperties.Category = "TestDoc"

word-document-api-examples/VB/CodeExamples/DocumentPropertiesActions.vb#L25

vb
document.DocumentProperties.Creator = "John Doe"
document.DocumentProperties.Title = "Inserting Custom Properties"
document.DocumentProperties.Category = "TestDoc"

See Also

DocumentProperties Interface

DocumentProperties Members

DevExpress.XtraRichEdit.API.Native Namespace