Appends a single box to a JPEG 2000 data stream. This method is available in the Document/Medical Toolkits.
stream
A System.IO.Stream containing the JPEG 2000 file data.
box
Jpeg2000SingleBox object containing the box data being appended.
According to the JPEG 2000 standard a ResolutionBox cannot be appended to a file. Set it using the SetBox method. Attempting to append a ResolutionBox will cause an invalid parameter exception to be thrown.
For an example, refer to Leadtools.Jpeg2000.Jpeg2000Engine.Save(RasterCodecs codecs, Stream stream, RasterImage image, Jpeg2000FileFormat format, int bitsPerPixel, int qualityFactor) example.