Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DocumentProperties.Company Property

Gets or sets the name of the company associated with the document.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core

#Declaration

string Company { get; set; }

#Property Value

Type Description
String

The company name.

#Remarks

The code sample below shows how to specify the Company 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