ImageHelper GetAutoResizeDimensions Method Kentico 8.0 API Reference
Gets dimensions from settings into width, height and max side size parameters.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

settings
Type: OnlineSystem.Collections Hashtable
Form field info settings
siteName
Type: OnlineSystem String
Site name
width
Type: OnlineSystem Int32 
Required width
height
Type: OnlineSystem Int32 
Required height
maxSideSize
Type: OnlineSystem Int32 
Required max side size
See Also