CheckBoxActiveXControl.SpecialEffect
CheckBoxActiveXControl.SpecialEffect property
Gets and sets the special effect of the control.
public ControlSpecialEffectType SpecialEffect { get; set; }
Examples
using System;
using Aspose.Cells;
using Aspose.Cells.Drawing;
namespace AsposeCellsExamples
{
public class CheckBoxActiveXControlPropertySpecialEffectDemo
{
public static void Run()
{
Workbook workbook = new Workbook();
Worksheet worksheet = workbook.Worksheets[0];
var shape = worksheet.Shapes.AddActiveXControl(Aspose.Cells.Drawing.ActiveXControls.ControlType.CheckBox, 5, 0, 100, 20, 100, 20);
Aspose.Cells.Drawing.ActiveXControls.CheckBoxActiveXControl checkBox = (Aspose.Cells.Drawing.ActiveXControls.CheckBoxActiveXControl)shape.ActiveXControl;
checkBox.Caption = "Sample CheckBox";
checkBox.SpecialEffect = Aspose.Cells.Drawing.ActiveXControls.ControlSpecialEffectType.Raised;
workbook.Save("CheckBoxSpecialEffectDemo.xlsx");
}
}
}
See Also
- enum ControlSpecialEffectType
- class CheckBoxActiveXControl
- namespace Aspose.Cells.Drawing.ActiveXControls
- assembly Aspose.Cells