FlexCel Studio for VCL/LCL
ContentsIndex
PreviousUpNext
TClientAnchor Record

Image Anchor information.

Pascal
TClientAnchor = packed record
  Flag: word;
  Col1: word;
  Dx1: word;
  Row1: word;
  Dy1: word;
  Col2: word;
  Dx2: word;
  Row2: word;
  Dy2: word;
end;
C++
struct TClientAnchor {
  word Flag;
  word Col1;
  word Dx1;
  word Row1;
  word Dy1;
  word Col2;
  word Dx2;
  word Row2;
  word Dy2;
};
Members 
Description 
Flag: word; 
How the image behaves when copying/inserting cells. It might have 3 values:
0 - Move and Resize the image.
2 - Move but don't Resize the image.
3 - Don't Move and don't Resize the image.
 
Col1: word; 
First column of object  
Dx1: word; 
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: word; 
First Row of object.  
Dy1: word; 
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: word; 
Last column of object.  
Dx2: word; 
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: word; 
Last row of object.  
Dy2: word; 
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.  
Copyright (c) 2002-2008 TMS Software. All rights reserved.
What do you think about this topic? Send feedback!