Leadtools.Jpip.Client Requires JPIP module product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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. 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.
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 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,
   long identifierNumber,
   array<byte>^ data,
   int offset,
   bool isCompleted
)

Parameters

classID
Data chunk type, J2K header, meta data, tile header, tile, precinct. 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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

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