ZebraGraphicsICropImage Method
|
Crops an image to the supplied dimensions.
Namespace:
Zebra.Sdk.Card.Graphics
Assembly:
SdkApi_Card_Core (in SdkApi_Card_Core.dll) Version: 2.14.1989
Syntax byte[] CropImage(
byte[] imageData,
int x,
int y,
int width,
int height
)
Function CropImage (
imageData As Byte(),
x As Integer,
y As Integer,
width As Integer,
height As Integer
) As Byte()
array<unsigned char>^ CropImage(
array<unsigned char>^ imageData,
int x,
int y,
int width,
int height
)
Parameters
- imageData
- Type: SystemByte
The bitmap image data. - x
- Type: SystemInt32
The x coordinate of the cropped image. - y
- Type: SystemInt32
The y coordinate of the cropped image. - width
- Type: SystemInt32
The width of the cropped image. - height
- Type: SystemInt32
The height of the cropped image.
Return Value
Type:
ByteBitmap data containing the cropped image.
Exceptions See Also