ZebraCardGraphicsCropImage Method
|
Crops an image to the supplied dimensions.
Namespace:
Zebra.Sdk.Card.Graphics
Assembly:
SdkApi_Card_Desktop (in SdkApi_Card_Desktop.dll) Version: 2.14.1989
Syntax public byte[] CropImage(
byte[] imageData,
int x,
int y,
int width,
int height
)
Public Function CropImage (
imageData As Byte(),
x As Integer,
y As Integer,
width As Integer,
height As Integer
) As Byte()
public:
virtual array<unsigned char>^ CropImage(
array<unsigned char>^ imageData,
int x,
int y,
int width,
int height
) sealed
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.
Implements
ZebraGraphicsICropImage(Byte, Int32, Int32, Int32, Int32)Exceptions See Also