LEADTOOLS JPEG 2000 (Leadtools.Jpip.Client assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
DataLoadedEventArgs Constructor
See Also 
Leadtools.Jpip.Client.InteractiveDecoder Namespace > DataLoadedEventArgs Class : DataLoadedEventArgs Constructor



classID
Data chunk type, J2K header, meta data, tile header, tile, precinct. Leadtools.Jpip.DataBinClassIdValues
codeStreamIndex
Index of the codestream in the JP2 file (if the loaded file is JP2 or JPX)
identifierNumber
Data chunk number, like a tile or precinct number.
data
Data buffer for the curret packet of the data chunk.
offset
Offset of the data with respect to the data chunk. Each chunk can be broken into several packets, and this offset represents the offset of the packet with respect to the chunk.
isCompleted
true if this is the last packet for this data chunk; otherwise, false.

The DataLoadedEventArgs Constructor includes members that are available as an add-on to the LEADTOOLS Imaging Pro, Document, and Medical Imaging toolkits.

Initializes a new instance of the DataLoadedEventArgs class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal classID As DataBinClassIdValues, _
   ByVal codeStreamIndex As Integer, _
   ByVal identifierNumber As Long, _
   ByVal data() As Byte, _
   ByVal offset As Integer, _
   ByVal isCompleted As Boolean _
)
Visual Basic (Usage)Copy Code
Dim classID As DataBinClassIdValues
Dim codeStreamIndex As Integer
Dim identifierNumber As Long
Dim data() As Byte
Dim offset As Integer
Dim isCompleted As Boolean
 
Dim instance As New DataLoadedEventArgs(classID, codeStreamIndex, identifierNumber, data, offset, isCompleted)
C# 
public DataLoadedEventArgs( 
   DataBinClassIdValues classID,
   int codeStreamIndex,
   long identifierNumber,
   byte[] data,
   int offset,
   bool isCompleted
)
C++/CLI 
public:
DataLoadedEventArgs( 
   DataBinClassIdValues classID,
   int codeStreamIndex,
   int64 identifierNumber,
   array<byte>^ data,
   int offset,
   bool isCompleted
)

Parameters

classID
Data chunk type, J2K header, meta data, tile header, tile, precinct. Leadtools.Jpip.DataBinClassIdValues
codeStreamIndex
Index of the codestream in the JP2 file (if the loaded file is JP2 or JPX)
identifierNumber
Data chunk number, like a tile or precinct number.
data
Data buffer for the curret packet of the data chunk.
offset
Offset of the data with respect to the data chunk. Each chunk can be broken into several packets, and this offset represents the offset of the packet with respect to the chunk.
isCompleted
true if this is the last packet for this data chunk; otherwise, false.

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

Leadtools.Jpip.Clientrequires a JPIP Module and a server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features