CMSDialogHelperGetThumbImageDimensions Method |
Gets thumbnail preview image dimensions.
Namespace: CMS.ExtendedControlsAssembly: CMS.ExtendedControls (in CMS.ExtendedControls.dll) Version: 8.2.23
Syntax 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:
Int32See Also