Click or drag to resize

DocumentSaveDelegate Delegate

Delegate of Save event

Namespace:  CodeStack.SwEx.AddIn.Delegates
Assembly:  CodeStack.SwEx.AddIn (in CodeStack.SwEx.AddIn.dll) Version: 0.8.1.0 (0.8.1.0)
Syntax
public delegate bool DocumentSaveDelegate(
	DocumentHandler docHandler,
	string fileName,
	SaveState_e state
)

Parameters

docHandler
Type: CodeStack.SwEx.AddIn.CoreDocumentHandler
Document Handler which sends this notification
fileName
Type: SystemString
Full path to save the file
state
Type: CodeStack.SwEx.AddIn.EnumsSaveState_e
Type of the save operation

Return Value

Type: Boolean
Return false within the PreSave to cancel the save operation
See Also