Click or drag to resize
MetaFileInfoProviderGetImageThumbnail Method (MetaFileInfo, String, Int32, Int32, Int32)
Returns image thumbnail (from the disk - if already exists, or create new one and save it to disk - if doesnt exist).

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax
C#
public static byte[] GetImageThumbnail(
	MetaFileInfo fileInfo,
	string siteName,
	int width,
	int height,
	int maxSideSize
)

Parameters

fileInfo
Type: CMS.DataEngineMetaFileInfo
File info
siteName
Type: SystemString
Site name
width
Type: SystemInt32
Image width
height
Type: SystemInt32
Image height
maxSideSize
Type: SystemInt32
Maximum side size

Return Value

Type: Byte
See Also