Click or drag to resize
ImageHelperGetAutoResizeDimensions Method
Gets dimensions from settings into width, height and max side size parameters.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
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