Click or drag to resize
ExcelDrawingPositionGetWidth Method
Gets the width of the ExcelDrawing (picture, chart, etc.).

Namespace: GemBox.Spreadsheet
Assembly: GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 41.3.30.1000
Syntax
public double GetWidth(
	LengthUnit unit
)

Parameters

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

Return Value

Type: Double
The width of the ExcelDrawing (picture, chart, etc.).
Remarks

If Position.Mode is MoveAndSize, then:

  • getter calculates the width for every request by using widths of columns in the worksheet.
  • setter will internally set To property.
See Also