Leadtools.Jpeg2000 Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.10
AppendFrames Method
See Also  Example
Leadtools.Jpeg2000 Namespace > Jpeg2000Engine Class : AppendFrames Method




Appends new frames to a currently existing JPEG 2000 file. This method is available in the Document/Medical Toolkits.

Overload List

OverloadDescription
AppendFrames(RasterCodecs,String,Generic List,Int32,Int32) Appends new frames to a currently existing JPEG 2000 file. This method is available in the Document/Medical Toolkits.  
AppendFrames(RasterCodecs,Stream,Generic List,Int32,Int32) Appends new frames to a currently existing JPEG 2000 stream. This method is available in the Document/Medical Toolkits.  

Example

Visual BasicCopy Code
Leadtools.Jpeg2000.Jpeg2000Engine.AppendFrames(String)
      Private Sub AppendFramesStringExample(ByVal fileName As String, ByVal images As List(Of CompositeJpxImages))
         Dim codecs As New RasterCodecs()
         codecs.ThrowExceptionsOnInvalidImages = True
         Dim engine As New Jpeg2000Engine()
         engine.AppendFrames(codecs, fileName, images, 0, 5)

         ' Clean up
         codecs.Dispose()
      End Sub
C#Copy Code
Leadtools.Jpeg2000.Jpeg2000Engine.AppendFrames(String) 
      private void AppendFramesStringExample(String fileName, List<CompositeJpxImages>images) 
      { 
         RasterCodecs codecs = new RasterCodecs(); 
         codecs.ThrowExceptionsOnInvalidImages = true; 
         Jpeg2000Engine engine = new Jpeg2000Engine(); 
         engine.AppendFrames(codecs, fileName, images, 0, 5); 
         // Clean up 
         codecs.Dispose(); 
      }

Remarks

All engine boxes will be reset.

Requirements

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

See Also

Leadtools.Jpeg2000 requires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features