Click or drag to resize
ExcelDrawingPositionSetTop Method
Sets the distance of the top edge of the ExcelDrawing (picture, chart, etc.) from the top edge of the worksheet.

Namespace: GemBox.Spreadsheet
Assembly: GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 41.3.30.1000
Syntax
public void SetTop(
	double value,
	LengthUnit unit
)

Parameters

value
Type: SystemDouble
The value.
unit
Type: GemBox.SpreadsheetLengthUnit
The length unit of the value parameter.
Remarks

If Position.Mode is Move or MoveAndSize, then:

  • getter calculates the distance from the top edge of the worksheet for every request by using heights of rows in the worksheet.
  • setter will internally set From property.
See Also