- data
- Pointer to unmanaged memory that holds the data to be compressed.
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As RasterCodecs Dim data As IntPtr instance.Compress(data) |
Parameters
- data
- Pointer to unmanaged memory that holds the data to be compressed.
For an example, refer to StartCompress(Int32,Int32,Int32,RasterByteOrder,RasterViewPerspective,Int32,Byte[],Int32,Int32,CodecsCompression,CodecsCompressDataCallback).
You must call StartCompress(Int32,Int32,Int32,RasterByteOrder,RasterViewPerspective,Int32,Byte[],Int32,Int32,CodecsCompression,CodecsCompressDataCallback) 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(Int32,Int32,Int32,RasterByteOrder,RasterViewPerspective,Int32,Byte[],Int32,Int32,CodecsCompression,CodecsCompressDataCallback).
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)