Click or drag to resize
ImageHelperEnsureImageDimensions Method (Int32, Int32, Int32)
Returns new image dimensions (int[2]: 0 - width, 1 - height) .

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public int[] EnsureImageDimensions(
	int width,
	int height,
	int maxSideSize
)

Parameters

width
Type: SystemInt32
height
Type: SystemInt32
maxSideSize
Type: SystemInt32

Return Value

Type: Int32
See Also