|
FlexCel Studio for VCL/LCL
|
Inserts a new picture on the active sheet.
procedure AddPicture(const Pic: TStream; const PicType: TXlsImgTypes; const Row: integer; const Col: integer; const dh: integer; const dw: integer; const ImgHeight: integer; const ImgWidth: integer; const Anchor: TFlxAnchorType = at_MoveAndDontResize); overload;
__fastcall AddPicture(const TStream Pic, const TXlsImgTypes PicType, const int Row, const int Col, const int dh, const int dw, const int ImgHeight, const int ImgWidth, const TFlxAnchorType Anchor = at_MoveAndDontResize);
|
Parameters |
Description |
|
const Pic: TStream |
This is the raw data for the image as a stream. Make sure the position of the stream is at the beginning of the data. |
|
const PicType: TXlsImgTypes |
This is the image type for the new image. Picture might be PNG, JPEG, WMF or EMF. |
|
const Row: integer |
Row where you want to insert the picture. |
|
const Col: integer |
Column where you want to insert the picture. |
|
const dh: integer |
Offset in the row for the picture. See Excel Internal Units for more information. |
|
const dw: integer |
Offset in the column for the picture. See Excel Internal Units for more information. |
|
const ImgHeight: integer |
Height of the image in pixels. |
|
const ImgWidth: integer |
Width of the image in pixels. |
|
const Anchor: TFlxAnchorType = at_MoveAndDontResize |
How the image will behave when inserting, deleting, moving or copying rows and columns. |
|
Copyright (c) 2002-2008 TMS Software. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|