Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
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) 
Overloads Public 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
)
Managed Extensions for 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 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