_IDocumentEvents_FileSavePreNotifyEventHandler Delegate

_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

Fire Application and Document Events (C#)
Fire Application and Document Events (VB.NET)
Fire Application and Document Events (VBA)

# 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

####

_IDocumentEvents_FileSavePreNotifyEventHandler Members
Interop.dsAutomation Namespace
IDocument Event FileSavePostNotify

# Availability

DraftSight V1R1