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