AttachmentBinaryHelperResizeImageAttachmentInternal Method |
Resizes image to specified dimensions.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax 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