Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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);
}

Return 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: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also