Intersoft ClientUI Documentation
DocumentViewerEndPrintEventArgs Constructor
See Also  Send Feedback
Intersoft.Client.UI.DocumentViewers Namespace > DocumentViewerEndPrintEventArgs Class : DocumentViewerEndPrintEventArgs Constructor






eventHandler
the event handler for EndPrint event.
error
exception that occur during print process.
documentName
the printed document name.
Initializes a new instance of the DocumentViewerEndPrintArgs class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal eventHandler As RoutedEvent, _
   ByVal error As Exception, _
   ByVal documentName As String _
)
Visual Basic (Usage)Copy Code
Dim eventHandler As RoutedEvent
Dim error As Exception
Dim documentName As String
 
Dim instance As New DocumentViewerEndPrintEventArgs(eventHandler, error, documentName)
C# 
public DocumentViewerEndPrintEventArgs( 
   RoutedEvent eventHandler,
   Exception error,
   string documentName
)
Delphi 
public DocumentViewerEndPrintEventArgs( 
    eventHandler: RoutedEvent;
    error: Exception;
    documentName: String
); 
JScript 
public function DocumentViewerEndPrintEventArgs( 
   eventHandler : RoutedEvent,
   error : Exception,
   documentName : String
);
Managed Extensions for C++ 
public: DocumentViewerEndPrintEventArgs( 
   RoutedEvent* eventHandler,
   Exception* error,
   string* documentName
)
C++/CLI 
public:
DocumentViewerEndPrintEventArgs( 
   RoutedEvent^ eventHandler,
   Exception^ error,
   String^ documentName
)

Parameters

eventHandler
the event handler for EndPrint event.
error
exception that occur during print process.
documentName
the printed document name.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.