Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
StopDecompress Method
See Also 
Leadtools.Codecs Namespace > RasterCodecs Class : StopDecompress Method



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 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.

Call this method after the decompression of the entire image using Decompress.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also