Reads a box of type boxType at index boxIndex from the specified JPEG 2000 data stream.
Public Overloads Function ReadBox( _
ByVal stream As Stream, _
ByVal boxType As Jpeg2000BoxType, _
ByVal boxIndex As Integer _
) As Jpeg2000Box
A System.IO.Stream containing the JPEG 2000 file data.
Box type to be read.
0-based box index specifying the box to be read.
Jpeg2000Box object containing the box data.
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.
For an example, refer to Leadtools.Jpeg2000.Jpeg2000Engine.SaveComposite(RasterCodecs codecs, Stream stream, List<CompositeJpxImages> compositeImages, Jpeg2000FileFormat format, int bitsPerPixel, int qualityFactor) example.