ImageMetadata Constructor |
Namespace: CMS.ResponsiveImagesAssembly: CMS.ResponsiveImages (in CMS.ResponsiveImages.dll) Version: 10.0.0
Syntax public ImageMetadata(
int width,
int height,
string mimeType,
string extension
)
Parameters
- width
- Type: SystemInt32
Image width. - height
- Type: SystemInt32
Image height. - mimeType
- Type: SystemString
Image MIME type. - extension
- Type: SystemString
Image file extension.
Exceptions Exception | Condition |
---|
ArgumentException | Thrown when mimeType or extension
is or empty string. |
See Also