ImageHelperGetTrimmedImageData Method (Int32, Int32, Int32, Int32) |
Crop image by specified area.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax public byte[] GetTrimmedImageData(
int width,
int height,
int xPos,
int yPos
)
Parameters
- width
- Type: SystemInt32
New width of the image - height
- Type: SystemInt32
New height of the image - xPos
- Type: SystemInt32
X coordinates of trimmed area - yPos
- Type: SystemInt32
Y coordinates of trimmed area
Return Value
Type:
ByteSee Also