LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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;}
C++/CLI 
public:
property float CompressionRatio {
   float get();
   void set (    float value);
}

Property Value

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

Example

For an example, refer to CodecsJpeg2000Options.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also