AttachmentBinaryHelper.GetImageThumbnailInternal Method (Guid,Byte[], String, String, Int32, Int32, Int32, Int32, Int32) |
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: 11.0.0
Syntaxprotected virtual byte[] GetImageThumbnailInternal(
Guid guid,
byte[] imageData,
string extension,
string siteName,
int width,
int height,
int maxSideSize,
int originalWidth,
int originalHeight
)
Parameters
- guid
- Type: System.Guid
File GUID. - imageData
- Type:System.Byte[]
Image data. - extension
- Type: System.String
Image extension. - siteName
- Type: System.String
Site name. - width
- Type: System.Int32
Image width. - height
- Type: System.Int32
Image height. - maxSideSize
- Type: System.Int32
Maximum side size. - originalWidth
- Type: System.Int32
Original width of the image. - originalHeight
- Type: System.Int32
Original height of the image.
Return Value
Type:
Byte[]
See Also