Click or drag to resize
ImageHelperGetTrimmedImageData Method (Int32, Int32, ImageHelperImageTrimAreaEnum)
Trim image by specified area.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
public byte[] GetTrimmedImageData(
	int width,
	int height,
	ImageHelperImageTrimAreaEnum area
)

Parameters

width
Type: SystemInt32
New width of the image
height
Type: SystemInt32
New height of the image
area
Type: CMS.HelpersImageHelperImageTrimAreaEnum
Enumeration to specify the area to keep

Return Value

Type: Byte
See Also