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



data
Pointer to unmanaged memory that holds the data to be compressed.
Does buffer-to-buffer JPEG or LEAD CMP compression using an unmanaged memory buffer.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub Compress( _
   ByVal data As IntPtr _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterCodecs
Dim data As IntPtr
 
instance.Compress(data)
C# 
public void Compress( 
   IntPtr data
)
C++/CLI 
public:
void Compress( 
   IntPtr data
) 

Parameters

data
Pointer to unmanaged memory that holds the data to be compressed.

Example

For an example, refer to StartCompress.

Remarks

You must call StartCompress before using this method, and you must call StopCompress to end the compression process. For a description of how these methods work together, refer to StartCompress.

Requirements

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

See Also