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

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax
C#
protected virtual string EnsureThumbnailFileInternal(
	DocumentAttachment attachment,
	int width,
	int height,
	int maxSideSize
)

Parameters

attachment
Type: CMS.DocumentEngineDocumentAttachment
Document attachment.
width
Type: SystemInt32
File width.
height
Type: SystemInt32
File height.
maxSideSize
Type: SystemInt32
Maximum side size.

Return Value

Type: String
See Also