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

Namespace:  GemBox.Spreadsheet
Assembly:  GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 41.3.30.1018
Syntax
public void SetWidth(
	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 width for every request by using widths of columns in the worksheet.
  • setter will internally set To property.
See Also