←Select platform

ReadBox(Stream,Jpeg2000BoxType,Int32) Method

Summary

Reads a box of type boxType at index boxIndex from the specified JPEG 2000 data stream.

Syntax

C#
VB
C++
Public Overloads Function ReadBox( _ 
   ByVal stream As Stream, _ 
   ByVal boxType As Leadtools.Jpeg2000.Jpeg2000BoxType, _ 
   ByVal boxIndex As Integer _ 
) As Leadtools.Jpeg2000.Jpeg2000Box 

Parameters

stream
A System.IO.Stream containing the JPEG 2000 file data.

boxType
Box type to be read.

boxIndex
0-based box index specifying the box to be read.

Return Value

Jpeg2000Box object containing the box data.

Remarks

All of the engine boxes will be reset (both those that have been loaded and any that have not been loaded). Only those boxes that have been found in the file during loading are updated.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Jpeg2000 Assembly
Click or drag to resize