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

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

Property Value

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

If Position.Mode is FreeFloating or Move, 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 Width and Height properties, which are calculated by using widths and heights of columns and rows in the worksheet.
See Also