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

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax
C#
public static string EnsureThumbnailFile(
	AttachmentInfo atInfo,
	string siteName,
	int width,
	int height,
	int maxSideSize
)

Parameters

atInfo
Type: CMS.DocumentEngineAttachmentInfo
Attachment 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