Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
CompressionRatio Property
See Also 
Leadtools.Codecs Namespace > CodecsJpeg2000SaveOptions Class : CompressionRatio Property




Gets or sets the compression ratio.

Syntax

Visual Basic (Declaration) 
Public Property CompressionRatio As Single
Visual Basic (Usage)Copy Code
Dim instance As CodecsJpeg2000SaveOptions
Dim value As Single
 
instance.CompressionRatio = value
 
value = instance.CompressionRatio
C# 
public float CompressionRatio {get; set;}
Managed Extensions for C++ 
public: __property float get_CompressionRatio();
public: __property void set_CompressionRatio( 
   float value
);
C++/CLI 
public:
property float CompressionRatio {
   float get();
   void set (float value);
}

Return Value

The compression ratio. This value is only used if is used.

Example

For an example, refer to CodecsJpeg2000Options.

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