Enum MediaTransformationType
- Namespace
- CMS.ContentEngine
- Assembly
- CMS.ContentEngine.dll
Defines the available types of media transformations.
public enum MediaTransformationType
- Extension Methods
Fields
[EnumStringRepresentation("Scale")] Scale = 1
Scale - the image will be resized with locked aspect ratio to satisfy the dimensions.
[EnumDefaultValue] [EnumStringRepresentation("SmartCrop")] SmartCrop = 0
Smart crop - the image is first cropped around the focal point to ensure correct aspect ratio, and then resized to satisfy the dimensions.