TdxSpreadSheetCustomFormula.Anchor Property
Returns the coordinates of the formula expression’s anchor cell.
Declaration
property Anchor: TPoint read;
Property Value
Type |
---|
TPoint |
Remarks
This property returns valid coordinates of the cell that contains the current formula expression within a worksheet or Grid View. Use the Anchor.X and Anchor.Y field values to obtain zero-based indexes of the row and column to which the cell belongs.
Alternatively, you can use the AnchorColumn and AnchorRow properties.
Note
Use the Cell property implemented by the TdxSpreadSheetFormula class to obtain the cell object hosting the formula expression in the case of the Spreadsheet or Report Designer control.
See Also