Visual Basic (Declaration) | |
---|---|
Overloads Public Function ReadBox( _ ByVal stream As Stream, _ ByVal boxType As Jpeg2000BoxType, _ ByVal boxIndex As Integer _ ) As Jpeg2000Box |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Jpeg2000Box ReadBox( Stream stream, Jpeg2000BoxType boxType, int boxIndex ) |
Managed Extensions for C++ | |
---|---|
public: Jpeg2000Box* ReadBox( Stream* stream, Jpeg2000BoxType boxType, int boxIndex ) |
C++/CLI | |
---|---|
public: Jpeg2000Box^ ReadBox( Stream^ stream, Jpeg2000BoxType boxType, int boxIndex ) |
Parameters
- stream
- A 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.For an example, refer to Leadtools.Jpeg2000.Jpeg2000Engine.SaveComposite(RasterCodecs codecs, Stream stream, List<CompositeJpxImages> compositeImages, Jpeg2000FileFormat format, int bitsPerPixel, int qualityFactor) example.
All engine boxes will be reset and upadted with the new loaded box only
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Reference
Jpeg2000Engine ClassJpeg2000Engine Members
Overload List
AppendBox
AppendBoxes
ReadBox(String, Jpeg2000BoxType, Int32)
Compression Using LEAD and JPEG Formats
File Formats - JPEG And LEAD Compressed
Bitmaps In Memory And In Files
JPEG2000 File Comments
JPEG And LEAD File Comments
Programming with JPEG 2000 Features
JPEG 2000 Boxes