Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
ChangeCompression Method
See Also 
Leadtools Namespace > RasterImage Class : ChangeCompression Method




compression
Indicates the type of compression to use on the image.
Compresses or decompresses this RasterImage.

Syntax

Visual Basic (Declaration) 
Public Sub ChangeCompression( _
   ByVal compression As RasterCompression _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterImage
Dim compression As RasterCompression
 
instance.ChangeCompression(compression)
C# 
public void ChangeCompression( 
   RasterCompression compression
)
Managed Extensions for C++ 
public: void ChangeCompression( 
   RasterCompression compression
) 
C++/CLI 
public:
void ChangeCompression( 
   RasterCompression compression
) 

Parameters

compression
Indicates the type of compression to use on the image.

Example

This example toggles image compression.

Remarks

This method is available only in (Document/Medical only) toolkits.

For more information, refer to Speeding Up 1-Bit Documents.

This method does not support signed images.

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