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

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 12.0.0
Syntax
C#
public static bool CanResizeImage(
	ForumAttachmentInfo fileInfo,
	int width,
	int height,
	int maxSideSize
)

Parameters

fileInfo
Type: CMS.ForumsForumAttachmentInfo
File 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