Back to Devexpress

DocumentProperties.Application Property

officefileapi-devexpress-dot-spreadsheet-dot-documentproperties-746b59cb.md

latest2.2 KB
Original Source

DocumentProperties.Application Property

Gets or sets the name of the application used to create or modify the document.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

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

Property Value

TypeDescription
String

The application name.

|

Remarks

If you create or modify a workbook in code - or via the Spreadsheet control’s UI - and do not specify the Application property, the Spreadsheet assigns the following string to this property: DevExpress Office File API/X.Y.Z.0. In this instance, X.Y.Z is the DevExpress build number (for example, 25.2.5.0).

Specify the Application Value

csharp
workbook.DocumentProperties.Application = "My Application v1.0.0.0";
workbook.DocumentProperties.Version = "1.0";
vb
workbook.DocumentProperties.Application = "My Application v1.0.0.0"
workbook.DocumentProperties.Version = "1.0"

Important

The Application property string is limited to 255 characters.

Clear the Application Value

csharp
workbook.DocumentProperties.Application = "";
vb
workbook.DocumentProperties.Application = ""

See Also

DocumentProperties

Custom

DocumentProperties Interface

DocumentProperties Members

DevExpress.Spreadsheet Namespace