DataLoadedEventArgs Constructor

Summary
Initializes a new instance of the DataLoadedEventArgs class.
Syntax
C#
VB
C++
  
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 _ 
) 
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

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.