FlexCel Studio for VCL/LCL
ContentsIndex
PreviousUpNext
TImageProperties Record

Image information for a normal image.

Pascal
TImageProperties = record
  Col1: integer;
  dx1: integer;
  Row1: integer;
  dy1: integer;
  Col2: integer;
  dx2: integer;
  Row2: integer;
  dy2: integer;
  FileName: UTF16String;
end;
C++
struct TImageProperties {
  int Col1;
  int dx1;
  int Row1;
  int dy1;
  int Col2;
  int dx2;
  int Row2;
  int dy2;
  UTF16String FileName;
};
Members 
Description 
Col1: integer; 
First column of object  
dx1: integer; 
Delta x of image, on 1/1024 of a cell. 0 means totally at the left, 512 on half of the cell, 1024 means at the left of next cell.  
Row1: integer; 
First Row of object.  
dy1: integer; 
Delta y of image on 1/255 of a cell. 0 means totally at the top, 128 on half of the cell, 255 means at the top of next cell.  
Col2: integer; 
Last column of object.  
dx2: integer; 
Delta x of image, on 1/1024 of a cell. 0 means totally at the left, 512 on half of the cell, 1024 means at the left of next cell.  
Row2: integer; 
Last row of object.  
dy2: integer; 
Delta y of image on 1/255 of a cell. 0 means totally at the top, 128 on half of the cell, 255 means at the top of next cell.  
FileName: UTF16String; 
FileName of the image. It sets/gets the original filename of the image before it was inserted. (For example: c:image.jpg) It is not necessary to set this field, and when the image is not inserted from a file but pasted, Excel does not set it either.  
Copyright (c) 2002-2008 TMS Software. All rights reserved.
What do you think about this topic? Send feedback!