|
FlexCel Studio for VCL/LCL
|
Assigns a New image to an existing one
procedure AssignPicture(const aPos: integer; const Pic: ByteArray; const PicType: TXlsImgTypes); overload;
__fastcall AssignPicture(const int aPos, const ByteArray Pic, const TXlsImgTypes PicType);
|
Parameters |
Description |
|
const aPos: integer |
Position of the image in the list. Goes between 0 and PicturesCount-1 |
|
const Pic: ByteArray |
This is the raw data for the image. |
|
const PicType: TXlsImgTypes |
This is the image type for the new image. Picture might be PNG, JPEG, WMF or EMF |
This method changes an image on the worksheet. Note that with this procedure you can change an existing image, not insert new ones. For inserting new images, use AddPicture.
|
Copyright (c) 2002-2008 TMS Software. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|