officefileapi-devexpress-dot-spreadsheet-dot-documentproperties-b91c4b7c.md
Gets or sets the version 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
string Version { get; set; }
Property Version As String
| Type | Description |
|---|---|
| String |
The version number.
|
If you create or modify a workbook in code - or via the Spreadsheet control’s UI - and do not specify the Version value, the Spreadsheet sets this property to the DevExpress major version used in your application (for example, 25.2).
workbook.DocumentProperties.Application = "My Application v1.0.0.0";
workbook.DocumentProperties.Version = "1.0";
workbook.DocumentProperties.Application = "My Application v1.0.0.0"
workbook.DocumentProperties.Version = "1.0"
Important
The Version property string is limited to 255 characters.
workbook.DocumentProperties.Version = "";
workbook.DocumentProperties.Version = ""
See Also