LEADTOOLS JPEG 2000 (Leadtools.Jpip.Client assembly)

DataLoadedEventArgs Constructor (DataLoadedEventArgs)

Show in webframe





Data chunk type, J2K header, meta data, tile header, tile, precinct. Leadtools.Jpip.DataBinClassIdValues
Index of the codestream in the JP2 file (if the loaded file is JP2 or JPX)
Data chunk number, like a tile or precinct number.
Data buffer for the curret packet of the data chunk.
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.
true if this is the last packet for this data chunk; otherwise, false.
Initializes a new instance of the DataLoadedEventArgs class.
Syntax
public DataLoadedEventArgs( 
   DataBinClassIdValues classID,
   int codeStreamIndex,
   long identifierNumber,
   byte[] data,
   int offset,
   bool isCompleted
)
'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 _
)
'Usage
 
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)

            

            
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.
Example
For an example, refer to Leadtools.Jpip.Client.JpipClient.
Requirements

Target Platforms

See Also

Reference

DataLoadedEventArgs Class
DataLoadedEventArgs Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

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