Computes new image dimensions according to the specified parameters, and returns it.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- width
- Type: System Int32
Required image width (optional)
- height
- Type: System Int32
Required image height (optional)
- maxSideSize
- Type: System Int32
Required max image size (overrides both required width and height, optional)
- imageWidth
- Type: System Int32
Image width (required)
- imageHeight
- Type: System Int32
Image height (required)
Return Value
Type: Int32An array with computed width ([0]) and height ([1])
Remarks
See Also