Click or drag to resize
MetaFileInfoProviderEnsureThumbnailFile Method
Ensures the thumbnail file.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public static string EnsureThumbnailFile(
	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
File width
height
Type: SystemInt32
File height
maxSideSize
Type: SystemInt32
Maximum side size

Return Value

Type: String
See Also