_IDocumentEvents FileSavePreNotify Event Send Feedback
See Also  Example
FileName
Name of the file about to be saved
SaveOption
Save option as defined in dsDocumentSaveAsOption_e
Pre-notifies an application before a file is saved.

Syntax

Visual Basic 
Public Delegate Sub _IDocumentEvents_FileSavePreNotifyEventHandler( _
) 
C# 
public delegate void _IDocumentEvents_FileSavePreNotifyEventHandler( 
)
JavaScript 
Event Not Supported 
)
COM native C++ 
FileSavePreNotify( 
    FileName,
    SaveOption
)
C++ 
FileSavePreNotify( 
)

Parameters

FileName
Name of the file about to be saved
SaveOption
Save option as defined in dsDocumentSaveAsOption_e

Example

 

Example

Remarks

If developing a C++ application, use dsDocument_FileSavePreNotify_id to register for this notification.

See Getting Started for more information about C++ interface add-in template callback functions.

See Also

Availability

DraftSight V1R1