Click or drag to resize

ICheckBox Interface

Defines the contract for a checkbox component, allowing for checking and unchecking states.

Namespace: Spire.Xls.Core
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public interface ICheckBox : IShape, 
	IExcelApplication

The ICheckBox type exposes the following members.

Properties
Name Description
Public property AlternativeText
Returns or sets the descriptive (alternative) text string for a Shape object.
(Inherited from IShape .)
Public property CheckState
Indicates whether check box is checked.
Public property Display3DShading
Gets or sets a value indicating whether 3D shading is enabled for the display.
Public property Fill
Gets the fill style of the shape.
(Inherited from IShape .)
Public property Glow
Gets the glow effect applied to the object.
(Inherited from IShape .)
Public property Height
The height of the object. Read/write Integer
(Inherited from IShape .)
Public property HtmlString
Gets and sets the html string which contains data and some formattings in this shape.
(Inherited from IShape .)
Public property ID
Returns the type for the specified object. Read-only Integer.
(Inherited from IShape .)
Public property IsLockAspectRatio
True means that don't allow changes in aspect ratio.
(Inherited from IShape .)
Public property IsLocked
True if the object is locked, False if the object can be modified when the sheet is protected.
(Inherited from IShape .)
Public property IsPrintable
True if the object is printable
(Inherited from IShape .)
Public property IsSmartArt
Gets a value indicating whether the object is a SmartArt graphic.
(Inherited from IShape .)
Public property IsTextLocked
Gets or sets a value indicating whether the text is locked and cannot be modified.
Public property Left
The distance from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart). Read/write Integer.
(Inherited from IShape .)
Public property Line
Gets the line format of the shape.
Public property LinkedCell
Gets or sets the range linked to the shape's value.
(Inherited from IShape .)
Public property Name
Returns or sets the name of the object. Read/write String.
(Inherited from IShape .)
Public property OnAction
Gets or sets the action to be performed.
(Inherited from IShape .)
Public property Parent
Gets the parent object of the current instance.
(Inherited from IExcelApplication .)
Public property Reflection
Gets the reflection effect applied to the shape.
(Inherited from IShape .)
Public property ResizeBehave
Specifies all possible settings for how drawing object shall be resized when the rows and columns between its start and ending anchor are resized or inserted(ComboBoxShape and CheckBoxShape and RadioButtonShape set MoveAndResize type value is invalid)
(Inherited from IShape .)
Public property Rotation
Returns or sets the rotation of the shape, in degrees.
(Inherited from IShape .)
Public property Shadow
Gets the shadow settings for the object.
(Inherited from IShape .)
Public property ShapeType
The shape type of the object.
(Inherited from IShape .)
Public property Text
Gets or sets the text content.
Public property TextFrame
Gets the text frame associated with the object.
(Inherited from IShape .)
Public property ThreeD
Gets the 3D formatting options for the object.
(Inherited from IShape .)
Public property Top
The distance from the top edge of the topmost shape in the shape range to the top edge of the worksheet. Read/write Integer.
(Inherited from IShape .)
Public property Visible
Determines whether the object is visible.
(Inherited from IShape .)
Public property Width
The width of the object. Read/write Integer.
(Inherited from IShape .)
Top
Methods
Name Description
Public method Remove
Removes this shape from shapes collection.
(Inherited from IShape .)
Public method Scale
Scales the shape.
(Inherited from IShape .)
Top
See Also