Click or drag to resize
CMSDialogHelperGetThumbImageDimensions Method
Gets thumbnail preview image dimensions.

Namespace: CMS.ExtendedControls
Assembly: CMS.ExtendedControls (in CMS.ExtendedControls.dll) Version: 8.2.23
Syntax
C#
public static int[] GetThumbImageDimensions(
	int origHeight,
	int origWidth,
	double maxHeight,
	double maxWidth
)

Parameters

origHeight
Type: SystemInt32
Original image width
origWidth
Type: SystemInt32
Original image height
maxHeight
Type: SystemDouble
Maximal image width
maxWidth
Type: SystemDouble
Maximal image height

Return Value

Type: Int32
See Also