LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
CmpQualityFactorPredefined Property
See Also 
Leadtools.Codecs Namespace > CodecsJpegSaveOptions Class : CmpQualityFactorPredefined Property



Gets and sets the pre-defined QFactor value when saving LEAD CMP compressed images.

Syntax

Visual Basic (Declaration) 
Public Property CmpQualityFactorPredefined As CodecsCmpQualityFactorPredefined
Visual Basic (Usage)Copy Code
Dim instance As CodecsJpegSaveOptions
Dim value As CodecsCmpQualityFactorPredefined
 
instance.CmpQualityFactorPredefined = value
 
value = instance.CmpQualityFactorPredefined
C# 
public CodecsCmpQualityFactorPredefined CmpQualityFactorPredefined {get; set;}
C++/CLI 
public:
property CodecsCmpQualityFactorPredefined CmpQualityFactorPredefined {
   CodecsCmpQualityFactorPredefined get();
   void set (    CodecsCmpQualityFactorPredefined value);
}

Property Value

The LEAD CMP pre-defined QFactor.

Example

For an example, refer to CodecsJpegOptions.

Remarks

When saving LEAD CMP compressed images, you can specify a pre-defined QFactor.

If you set this property to CodecsCmpQualityFactorPredefined.Custom, then you can set a custom QFactor in CodecsJpegSaveOptions.QualityFactor.

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