Click or drag to resize
IImageVariantDefinition Interface
Interface for the image variant definition.

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

The IImageVariantDefinition type exposes the following members.

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