Back to Devexpress

DocumentProperties.DocumentRevision Property

officefileapi-devexpress-dot-spreadsheet-dot-documentproperties-cabf934e.md

latest1.9 KB
Original Source

DocumentProperties.DocumentRevision Property

Gets or sets the document’s revision number.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

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

Property Value

TypeDescription
String

A String value that specifies a positive integer indicating the number of saves or revisions.

|

Remarks

The DocumentRevision property allows you to specify one of the predefined document properties, a full set of which is available by using the IWorkbook.DocumentProperties property. To specify the custom document properties, use the DocumentProperties.Custom property.

To clear the DocumentRevision property, set it to an empty string.

Note

The DocumentRevision property is not updated automatically when you modify and save the document.

See Also

DocumentProperties

Custom

DocumentProperties Interface

DocumentProperties Members

DevExpress.Spreadsheet Namespace