November Happy Hour will be moved to Thursday December 5th.

Class EncodingSettings

Defines encoding settings - image quality and the default format

Inheritance
System.Object
EncodingSettings
Namespace: Mediachase.Commerce.Catalog
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
Syntax
[Obsolete("The old image system based on MetaData Plus is obsolete. You should use the new asset/media system in Episerver CMS instead. Will remain at least until January 2019")]
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.