XlsSpinnerShape module

class XlsSpinnerShape.XlsSpinnerShape

Bases: XlsShape, ISpinnerShape

Represents a spinner control in an Excel worksheet.

This class provides properties and methods for manipulating spinner controls, including value ranges and appearance.

property CurrentValue: int

Gets or sets the current value of the spinner.

The value must be between Min and Max properties.

Returns:

The current value of the spinner.

Return type:

int

property Display3DShading: bool

Gets or sets whether the spinner displays with 3D shading.

Returns:

True if the spinner has 3D shading; otherwise, False.

Return type:

bool

property IncrementalChange: int

Gets or sets the increment value for the spinner.

This is the value that changes when the user clicks on the spinner arrows.

Returns:

The increment value for the spinner.

Return type:

int

property Max: int

Gets or sets the maximum value of the spinner.

Returns:

The maximum value of the spinner.

Return type:

int

property Min: int

Gets or sets the minimum value of the spinner.

Returns:

The minimum value of the spinner.

Return type:

int

property ShapeType: ExcelShapeType

Gets the shape type of the spinner.

Returns:

An enumeration value representing the shape type.

Return type:

ExcelShapeType