Class EncodingSettings
Defines encoding settings - image quality and the default format
Inheritance
System.Object
EncodingSettings
Namespace: Mediachase.Commerce.Catalog
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public class EncodingSettings : ConfigurationElement
Constructors
EncodingSettings()
Initializes a new instance of the EncodingSettings class.
Declaration
public EncodingSettings()
Properties
DefaultFormat
Gets or sets the default format.
Declaration
public ImageFormat DefaultFormat { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Imaging.ImageFormat | The default format. |
ImageQualityPercentage
Gets or sets the image quality percentage.
Declaration
public long ImageQualityPercentage { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 | The image quality percentage. |
Methods
IsReadOnly()
Gets a value indicating whether the System.Configuration.ConfigurationElement object is read-only.
Declaration
public override bool IsReadOnly()
Returns
Type | Description |
---|---|
System.Boolean | true if the System.Configuration.ConfigurationElement object is read-only; otherwise, false. |