.NET Framework Class Library

IDocument.NeedFileName Event

<< Click to Display Table of Contents >>

Navigation:  Gnostice Document Studio .NET > Reference Documentation > API Reference > Gnostice.Core.DOM Namespace > IDocument Interface > IDocument Events >

.NET Framework Class Library

IDocument.NeedFileName Event

Called when a page or the whole document is about to be saved to a file.

Namespace: Gnostice.Core.DOM

Assembly:  Gnostice.Core (in Gnostice.Core.dll)

Syntax

Visual Basic

Event NeedFileName As EventHandler(Of NeedFileNameEventArgs)

C#

event EventHandler<NeedFileNameEventArgsNeedFileName

Visual C++

 event EventHandler<NeedFileNameEventArgs^>^ NeedFileName {
 void add (EventHandler<NeedFileNameEventArgs^>^ value);
 void remove (EventHandler<NeedFileNameEventArgs^>^ value);
}

Remarks

When a document is converted to multipage images, the [!:Gnostice.Documents.NeedFileNameEventArgs.PageNumber] property will contain the original page number from the input document. When a document is converted to a single image or a single document, this property will represent total page count.

See Also

IDocument Interface

IDocument Members

Gnostice.Core.DOM Namespace