Click or drag to resize
ExcelDrawingPositionGetTop Method
Gets 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.1032
Syntax
public double GetTop(
	LengthUnit unit
)

Parameters

unit
Type: GemBox.SpreadsheetLengthUnit
The length unit of the returned value.

Return Value

Type: Double
The distance of the top edge of the ExcelDrawing (picture, chart, etc.) from the top edge of the worksheet.
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