TClientAnchor.CalcImageCoords Method
Overloads
TClientAnchor.CalcImageCoords(Double, Double, IRowColSize)
Calculates the width and height of the image in resolution-independent-pixels (1/96 of an inch). MAKE SURE THE ACTIVESHEET IN WORKBOOK IS THE CORRECT ONE.
Syntax
Unit: FlexCel.Core
procedure TClientAnchor.CalcImageCoords(var height: Double; var width: Double; const Workbook: IRowColSize); overload;
Parameters
<-> |
Parameter |
Type |
Description |
var |
height |
Double |
Will return the height of the object. |
var |
width |
Double |
Will return the width of the object. |
const |
Workbook |
IRowColSize |
Workbook used to know the column widths and row heights. |
See also
TClientAnchor.CalcImageCoords(Double, Double, Double, Double, IRowColSize)
Calculates the width and height of the image in resolution-independent-pixels (1/96 of an inch). MAKE SURE THE ACTIVESHEET IN WORKBOOK IS THE CORRECT ONE.
Syntax
Unit: FlexCel.Core
procedure TClientAnchor.CalcImageCoords(out top: Double; out left: Double; out height: Double; out width: Double; const Workbook: IRowColSize); overload;
Parameters
<-> |
Parameter |
Type |
Description |
out |
top |
Double |
Will return the top position of the start of the object in resolution-independent-pixels (1/96 of an inch). |
out |
left |
Double |
Will return the left position of the start of the object in resolution-independent-pixels (1/96 of an inch). |
out |
height |
Double |
Will return the height of the object. |
out |
width |
Double |
Will return the width of the object. |
const |
Workbook |
IRowColSize |
Workbook used to know the column widths and row heights. |
See also