MediaFileInfoProviderCanResizeImage Method (String, Int32, Int32, Int32) |
Checks whether the image should be processed (resized) by the Image manager (if the destination size is smaller).
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 10.0.0
Syntax public static bool CanResizeImage(
string filePath,
int width,
int height,
int maxSideSize
)
Parameters
- filePath
- Type: SystemString
File path - width
- Type: SystemInt32
New width - height
- Type: SystemInt32
New height - maxSideSize
- Type: SystemInt32
Max side size
Return Value
Type:
BooleanSee Also