Click or drag to resize
ExcelDrawingPositionSetHeight Method
Sets the height of the ExcelDrawing (picture, chart, etc.).

Namespace:  GemBox.Spreadsheet
Assembly:  GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 41.3.30.1033
Syntax
public void SetHeight(
	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 MoveAndSize, then:

  • getter calculates the height for every request by using heights of rows in the worksheet.
  • setter will internally set To property.
See Also