AttachmentBinaryHelperCanResizeImageInternal Method |
Checks whether the image should be processed (resized) by the Image manager (if the destination size is smaller).
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax 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:
BooleanSee Also