TClientAnchor.CalcImageCoords Method
Overloads
- TClientAnchor.CalcImageCoords(Double, Double, IRowColSize)
- TClientAnchor.CalcImageCoords(Double, Double, Double, Double, IRowColSize)
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
Namespace: FlexCel.Core
public void CalcImageCoords(ref Double height, ref Double width, IRowColSize Workbook)
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| ref | height | Double | Will return the height of the object. |
| ref | width | Double | Will return the width of the object. |
| 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
Namespace: FlexCel.Core
public void CalcImageCoords(out Double top, out Double left, out Double height, out Double width, IRowColSize Workbook)
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. |
| Workbook | IRowColSize | Workbook used to know the column widths and row heights. |