MediaFileInfoProviderShouldResizeInternal Method |
Returns true if image should be scaled down.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.2.23
Syntax protected virtual bool ShouldResizeInternal(
int maxSideSize,
int width,
int height,
int imageWidth,
int imageHeight
)
Parameters
- maxSideSize
- Type: SystemInt32
Max side size - width
- Type: SystemInt32
Width - height
- Type: SystemInt32
Height - imageWidth
- Type: SystemInt32
Image width - imageHeight
- Type: SystemInt32
Image height
Return Value
Type:
BooleanSee Also