Click or drag to resize
AttachmentBinaryHelperResizeImageAttachmentInternal Method
Resizes image to specified dimensions.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 10.0.0
Syntax
C#
protected virtual void ResizeImageAttachmentInternal(
	IAttachment attachment,
	int width,
	int height,
	int maxSideSize
)

Parameters

attachment
Type: CMS.DocumentEngineIAttachment
Attachment.
width
Type: SystemInt32
New width of the attachment.
height
Type: SystemInt32
New height of the attachment.
maxSideSize
Type: SystemInt32
Maximal side size of the attachment.
See Also