officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-documentproperties-d2041389.md
Gets or sets a manager of the document’s author.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
string Manager { get; set; }
Property Manager As String
| Type | Description |
|---|---|
| String |
The manager’s name.
|
The code sample below shows how to specify the Manager property:
using DevExpress.XtraRichEdit.API.Native;
private void AddNewProperties(RichEditDocumentServer wordProcessor)
{
Document document = wordProcessor.Document;
document.BeginUpdate();
document.DocumentProperties.Manager = "John Doe";
document.DocumentProperties.Company = "TestDoc";
document.DocumentProperties.Application = "My Application";
document.DocumentProperties.Template = "MyTemplate.dotm";
document.DocumentProperties.AppVersion = "2.0";
document.EndUpdate();
}
Imports DevExpress.XtraRichEdit.API.Native
Private Sub AddNewProperties(ByVal wordProcessor As RichEditDocumentServer)
Dim document As Document = wordProcessor.Document
document.BeginUpdate()
document.DocumentProperties.Manager = "John Doe"
document.DocumentProperties.Company = "TestDoc"
document.DocumentProperties.Application = "My Application"
document.DocumentProperties.Template = "MyTemplate.dotm"
document.DocumentProperties.AppVersion = "2.0"
document.EndUpdate()
End Sub
See Also