ImageHelperGetAutoResizeDimensions Method |
Gets dimensions from settings into width, height and max side size parameters.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
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