Click or drag to resize
ImageVariantDefinition Class
Variant definition which is generated using the collection of IImageFilter.
Inheritance Hierarchy
SystemObject
  CMS.ResponsiveImagesImageVariantDefinition

Namespace: CMS.ResponsiveImages
Assembly: CMS.ResponsiveImages (in CMS.ResponsiveImages.dll) Version: 11.0.0
Syntax
C#
public abstract class ImageVariantDefinition : IImageVariantDefinition

The ImageVariantDefinition type exposes the following members.

Constructors
  NameDescription
Protected methodImageVariantDefinition
Top
Properties
  NameDescription
Public propertyContextScopes
Returns context scopes to restrict variant application.
Public propertyFilters
Collection of filters used for variant generation.
Public propertyIdentifier
Definition identifier.
Top
Extension Methods
  NameDescription
Public Extension MethodGenerateVariant
Generates an image variant by applying all variant definition filters.
(Defined by ImageVariantDefinitionExtensions.)
Public Extension MethodIsApplicable
Indicates whether the definition is applicable for the given image metadata.
(Defined by ImageVariantDefinitionExtensions.)
Top
See Also