ImageVariantDefinitionManagerGetDefinition Method |
Returns an image variant definition by identifier.
Namespace: CMS.ResponsiveImagesAssembly: CMS.ResponsiveImages (in CMS.ResponsiveImages.dll) Version: 12.0.0
Syntax public static IImageVariantDefinition GetDefinition(
string identifier
)
Parameters
- identifier
- Type: SystemString
Definition identifier.
Return Value
Type:
IImageVariantDefinitionImage variant definition or
null when definition with the given name does not exists.
See Also