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

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax
C#
protected virtual void ResizeImageAttachmentInternal(
	AttachmentInfo newAttachment,
	int width,
	int height,
	int maxSideSize
)

Parameters

newAttachment
Type: CMS.DocumentEngineAttachmentInfo
Attachment info
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