MediaFileInfoProviderGetThumbnail Method |
Returns image thumbnail from the disk or create a new one if doesn't exist yet.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 12.0.0
Syntax public static byte[] GetThumbnail(
string originalFilePath,
int originalWidth,
int originalHeight,
int width,
int height
)
Parameters
- originalFilePath
- Type: SystemString
Original file path - originalWidth
- Type: SystemInt32
Original width - originalHeight
- Type: SystemInt32
Original height - width
- Type: SystemInt32
Width - height
- Type: SystemInt32
Height
Return Value
Type:
ByteSee Also