Click or drag to resize
AttachmentInfoProviderCanResizeImage Method
Checks whether the image should be processed (resized) by the Image manager (if the destination size is smaller).

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public static bool CanResizeImage(
	AttachmentInfo atInfo,
	int width,
	int height,
	int maxSideSize
)

Parameters

atInfo
Type: CMS.DocumentEngineAttachmentInfo
Attachment info to check
width
Type: SystemInt32
New width
height
Type: SystemInt32
New height
maxSideSize
Type: SystemInt32
Max side size

Return Value

Type: Boolean
See Also