Click or drag to resize
AttachmentBinaryHelperCanResizeImageInternal 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: 12.0.0
Syntax
C#
protected virtual bool CanResizeImageInternal(
	IAttachment attachment,
	int width,
	int height,
	int maxSideSize
)

Parameters

attachment
Type: CMS.DocumentEngineIAttachment
Attachment.
width
Type: SystemInt32
New width.
height
Type: SystemInt32
New height.
maxSideSize
Type: SystemInt32
Max side size.

Return Value

Type: Boolean
See Also