CMSDialogHelperGetThumbImageDimensions Method |
Gets thumbnail preview image dimensions.
Namespace: CMS.Base.Web.UIAssembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 10.0.0
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