SpreadsheetGear 2023
IBuiltinDocumentProperties Interface Members
Properties  Methods 

SpreadsheetGear Namespace : IBuiltinDocumentProperties Interface

The following tables list the members exposed by IBuiltinDocumentProperties.

Public Properties
 NameDescription
 PropertyGets or sets the built-in author property which is named "Author". If null is returned the property is undefined. Setting this property to null has the same effect as calling IDocumentProperty.Delete on the associated document property.  
 Property  
 PropertyGets or sets the built-in comments property which is named "Comments". If null is returned the property is undefined. Setting this property to null has the same effect as calling IDocumentProperty.Delete on the associated document property.  
 PropertyGets or sets the built-in content status property which is named "Content status". If null is returned the property is undefined. Setting this property to null has the same effect as calling IDocumentProperty.Delete on the associated document property.  
 PropertyReturns the number of document properties in this collection. (Inherited from SpreadsheetGear.IDocumentProperties)
 PropertyGets or sets the creation date and time or null if the "Creation date" property is undefined. All retunred times will be DateTimeKind.Utc, and non-Utc DateTime's will be converted to DateTimeKind.Utc at the time they are set. Setting this property to null has the same effect as calling IDocumentProperty.Delete on the associated document property.  
 PropertyGets or sets the built-in document version property which is named "Document version". If null is returned the property is undefined. Setting this property to null has the same effect as calling IDocumentProperty.Delete on the associated document property.  
 PropertyReturns the document property specified by the zero based index. (Inherited from SpreadsheetGear.IDocumentProperties)
 PropertyGets or sets the built-in keywords property which is named "Keywords". If null is returned the property is undefined. Setting this property to null has the same effect as calling IDocumentProperty.Delete on the associated document property.  
 PropertyGets or sets the built-in language property which is named "Language". If null is returned the property is undefined. Setting this property to null has the same effect as calling IDocumentProperty.Delete on the associated document property.  
 PropertyGets or sets the last author to save this workbook or null if the property named "Last author" is undefined. If any built-in document property is defined when the associated workbook is saved, LastAuthor will be set to IWorkbookSet.UserName if UserName is non-null, otherwise it will copy the current value from Author.  
 PropertyGets or sets the last print date and time or null if the "Last print time" property is undefined. All retunred times will be DateTimeKind.Utc, and non-Utc DateTime's will be converted to DateTimeKind.Utc at the time they are set. Setting this property to null has the same effect as calling IDocumentProperty.Delete on the associated document property.  
 PropertyGets or sets the last save date and time or null if the "Last save time" property is undefined. All retunred times will be DateTimeKind.Utc, and non-Utc DateTime's will be converted to DateTimeKind.Utc at the time they are set. Setting this property to null has the same effect as calling IDocumentProperty.Delete on the associated document property.  
 PropertyGets the workbook which owns this collection of document properties. (Inherited from SpreadsheetGear.IDocumentProperties)
 PropertyGets or sets the built-in revision number property which is named "Revision number". If null is returned the property is undefined. Setting this property to null has the same effect as calling IDocumentProperty.Delete on the associated document property.  
 PropertyGets or sets the built-in subject property which is named "Subject". If null is returned the property is undefined. Setting this property to null has the same effect as calling IDocumentProperty.Delete on the associated document property.  
 PropertyGets or sets the built-in title property which is named "Title". If null is returned the property is undefined. Setting this property to null has the same effect as calling IDocumentProperty.Delete on the associated document property.  
Top
Public Methods
 NameDescription
 MethodAdds a new custom document property with the specified value (System.String, System.DateTime, System.Boolean, System.Int32 or System.Double) to a workbook and returns a reference to it. (Inherited from SpreadsheetGear.IDocumentProperties)
 MethodRemoves all document properties from this collection. (Inherited from SpreadsheetGear.IDocumentProperties)
 MethodClears all built-in properties and then sets Author to the value of IWorkbookSet.UserName and sets CreationDate to System.DateTime.UtcNow.  
Top
See Also

Reference

IBuiltinDocumentProperties Interface
SpreadsheetGear Namespace
BuiltinDocumentProperties Property
IDocumentProperties Interface
IDocumentProperty Interface