Click or drag to resize
ExcelDrawingPositionFrom Property
Gets or sets the anchor cell which the ExcelDrawing (picture, chart, etc.) spans from.

Namespace:  GemBox.Spreadsheet
Assembly:  GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 41.3.30.1033
Syntax
public AnchorCell From { get; set; }

Property Value

Type: AnchorCell
The anchor cell which the ExcelDrawing (picture, chart, etc.) spans from.
Remarks

If Position.Mode is FreeFloating, then:

  • getter returns new instance of AnchorCell for every request and changing that instance won't affect on the position of the drawing (picture, chart, etc.).
  • setter will internally set Left and Top properties, which are calculated by using widths and heights of columns and rows in the worksheet.
See Also