LEADTOOLS Multimedia (Leadtools.Multimedia assembly) Send comments on this topic. | Back to Introduction | Help Version 17.0.3.22
MediaEventArgs Constructor
See Also 
Leadtools.Multimedia Namespace > MediaEventArgs Class : MediaEventArgs Constructor



eventCode
The MediaEventCode identifying the type of media event that was raised.
param1
Generic parameter one containing event specific information. The use and possible values of parameter depends on MediaEventCode.
param2
Generic parameter two containing event specific information. The use and possible values of parameter depends on MediaEventCode.
Creates an instance of the MediaEventArgs object.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal eventCode As MediaEventCode, _
   ByVal param1 As Integer, _
   ByVal param2 As Integer _
)
Visual Basic (Usage)Copy Code
Dim eventCode As MediaEventCode
Dim param1 As Integer
Dim param2 As Integer
 
Dim instance As New MediaEventArgs(eventCode, param1, param2)
C# 
public MediaEventArgs( 
   MediaEventCode eventCode,
   int param1,
   int param2
)
C++/CLI 
public:
MediaEventArgs( 
   MediaEventCode eventCode,
   int param1,
   int param2
)

Parameters

eventCode
The MediaEventCode identifying the type of media event that was raised.
param1
Generic parameter one containing event specific information. The use and possible values of parameter depends on MediaEventCode.
param2
Generic parameter two containing event specific information. The use and possible values of parameter depends on MediaEventCode.

Remarks

Creates an instance of the MediaEventArgs object. This method is called internally by the toolkit to create media event arguments.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also