Skip to main content

DocumentProperties.Application Property

Specifies an application used to modify the document.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

string Application { get; set; }

Property Value

Type Description
String

The application name. The default is “DevExpress Office File API/23.2.5.0”.

Remarks

The code sample below shows how to specify the Application 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();
}
See Also