SpreadsheetGear 2023
InitializeDefaults Method (IBuiltinDocumentProperties)


SpreadsheetGear Namespace > IBuiltinDocumentProperties Interface : InitializeDefaults Method
Clears all built-in properties and then sets IBuiltinDocumentProperties.Author to the value of IWorkbookSet.UserName and sets IBuiltinDocumentProperties.CreationDate to System.DateTime.UtcNow.
Syntax
'Declaration
 
Sub InitializeDefaults() 
'Usage
 
Dim instance As IBuiltinDocumentProperties
 
instance.InitializeDefaults()
void InitializeDefaults()
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IBuiltinDocumentProperties Interface
IBuiltinDocumentProperties Members
Author Property
CreationDate Property
LastAuthor Property
LastSaveTime Property
Clear Method