LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
StopDecompress Method
See Also 
Leadtools.Codecs Namespace > RasterCodecs Class : StopDecompress Method



decompressContext
The decompressing context object obtained through StartDecompress.
decompressContext
The decompressing context object obtained through StartDecompress.
Ends the decompression process and cleans up all the variables and buffers allocated.

Syntax

Visual Basic (Declaration) 
Public Function StopDecompress( _
   ByVal decompressContext As Object _
) As RasterImage
Visual Basic (Usage)Copy Code
Dim instance As RasterCodecs
Dim decompressContext As Object
Dim value As RasterImage
 
value = instance.StopDecompress(decompressContext)
C# 
public RasterImage StopDecompress( 
   object decompressContext
)
C++/CLI 
public:
RasterImage^ StopDecompress( 
   Object^ decompressContext
) 

Parameters

decompressContext
The decompressing context object obtained through StartDecompress.

Return Value

The Leadtools.RasterImage object created from decompressing the input image data.

Example

For an example, refer to StartDecompress.

Remarks

This method will end the decompression process and cleans up all the variables and buffers allocated by the StartDecompress and Decompress(Object,Byte[],Int32,Int32,Int32,Int32,Int32,Int32,CodecsDecompressDataFlags).

Call this method after the decompression of the entire image using Decompress(Object,Byte[],Int32,Int32,Int32,Int32,Int32,Int32,CodecsDecompressDataFlags).

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also