Skip to main content

SavingEventArgs Class

Contains data for the Saving event.

Declaration

export class SavingEventArgs extends EventArgs

Remarks

The Saving event allows you to save a document. The event handler receives an argument of the SavingEventArgs type. The argument’s properties provide information specific to this event.

Inheritance

EventArgs
SavingEventArgs

Properties

base64 Property

The file content that is encoded with base64 digits.

Declaration

base64: string

Property Value

Type Description
string

The file content.

fileName Property

The name of the file to save.

Declaration

fileName: string

Property Value

Type Description
string

The file name.

format Property

The format of the file to save.

Declaration

format: DocumentFormat

Property Value

Type Description
DocumentFormat

The document format.

handled Property

Specifies whether the event is handled.

Declaration

handled: boolean

Property Value

Type Description
boolean

true, if the event is handled and further processing is not required; otherwise false.

reason Property

Specifies the reason why the document saving process starts.

Declaration

reason: string

Property Value

Type Description
string

A value that identifies the reason.