ImageHelperGetAutoResizeDimensions Method |
Gets dimensions from settings into width, height and max side size parameters.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax public static void GetAutoResizeDimensions(
Hashtable settings,
string siteName,
out int width,
out int height,
out int maxSideSize
)
Parameters
- settings
- Type: System.CollectionsHashtable
Form field info settings - siteName
- Type: SystemString
Site name - width
- Type: SystemInt32
Required width - height
- Type: SystemInt32
Required height - maxSideSize
- Type: SystemInt32
Required max side size
See Also