DocumentProperties.AppVersion Property
Gets or sets the version of an application used to modify the document.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v24.1.Core.dll
NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation
Declaration
Property Value
Type | Description |
---|---|
String | The application version. The default is 24.1 |
Remarks
The AppVersion value should be in X.Y format, where X > 0.
The code sample below shows how to specify the AppVersion 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