ImageHelper GetAutoResizeDimensions Method Kentico 8.1 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.1.5347.20411)

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