AttachmentInfoProviderGetImageThumbnailInternal Method (AttachmentInfo, String, Int32, Int32, Int32, Boolean) |
Returns image thumbnail (from the disk - if already exists, or create new one and save it to disk - if doesn't exist).
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntaxprotected virtual byte[] GetImageThumbnailInternal(
AttachmentInfo atInfo,
string siteName,
int width,
int height,
int maxSideSize,
bool searchThumbnailFile
)
Parameters
- atInfo
- Type: CMS.DocumentEngineAttachmentInfo
Attachment info - siteName
- Type: SystemString
Site name - width
- Type: SystemInt32
Image width - height
- Type: SystemInt32
Image height - maxSideSize
- Type: SystemInt32
Maximum side size - searchThumbnailFile
- Type: SystemBoolean
Indicates if thumbnail should be searched on the disk
Return Value
Type:
Byte
See Also