aspose.diagram
Class ToggleButtonActiveXControl

Represents a ToggleButton ActiveX control.

Property Getters/Setters Summary
functiongetAccelerator()
functionsetAccelerator(value)
           Gets and sets the accelerator key for the control.
functiongetBackOleColor()
functionsetBackOleColor(value)
           Gets and sets the ole color of the background.
functiongetCaption()
functionsetCaption(value)
           Gets and set the descriptive text that appears on a control.
functiongetData()
           Gets and sets the binary data of the control.
functiongetForeOleColor()
functionsetForeOleColor(value)
           Gets and sets the ole color of the foreground.
functiongetHeight()
functionsetHeight(value)
           Gets and sets the height of the control in unit of points.
functiongetIMEMode()
functionsetIMEMode(value)
           Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus. The value of the property is InputMethodEditorMode integer constant.
functionisAutoSize()
functionsetAutoSize(value)
           Indicates whether the control will automatically resize to display its entire contents.
functionisEnabled()
functionsetEnabled(value)
           Indicates whether whether the control can receive the focus and respond to user-generated events.
functionisLocked()
functionsetLocked(value)
           Indicates whether data in the control is locked for editing.
functionisTransparent()
functionsetTransparent(value)
           Indicates whether the control is transparent.
functionisTripleState()
functionsetTripleState(value)
           Indicates how the specified control will display Null values.
functiongetMouseIcon()
functionsetMouseIcon(value)
           Gets and sets a custom icon to display as the mouse pointer for the control.
functiongetMousePointer()
functionsetMousePointer(value)
           Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMousePointerType integer constant.
functiongetPicture()
functionsetPicture(value)
           Gets and sets the data of the picture.
functiongetPicturePosition()
functionsetPicturePosition(value)
           Gets and set the location of the control's picture relative to its caption. The value of the property is ControlPicturePositionType integer constant.
functiongetSpecialEffect()
functionsetSpecialEffect(value)
           Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.
functiongetType()
           Gets the type of the ActiveX control. The value of the property is ControlType integer constant.
functiongetValue()
functionsetValue(value)
           Indicates if the control is checked or not. The value of the property is CheckValueType integer constant.
functiongetWidth()
functionsetWidth(value)
           Gets and sets the width of the control in unit of point.
 

Property Getters/Setters Detail

getType : Number 

function getType()
Gets the type of the ActiveX control. The value of the property is ControlType integer constant.

getCaption/setCaption : String 

function getCaption() / function setCaption(value)
Gets and set the descriptive text that appears on a control.

getPicturePosition/setPicturePosition : Number 

function getPicturePosition() / function setPicturePosition(value)
Gets and set the location of the control's picture relative to its caption. The value of the property is ControlPicturePositionType integer constant.

getSpecialEffect/setSpecialEffect : Number 

function getSpecialEffect() / function setSpecialEffect(value)
Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.

getPicture/setPicture : byte[] 

function getPicture() / function setPicture(value)
Gets and sets the data of the picture.

getAccelerator/setAccelerator : char 

function getAccelerator() / function setAccelerator(value)
Gets and sets the accelerator key for the control.

getValue/setValue : Number 

function getValue() / function setValue(value)
Indicates if the control is checked or not. The value of the property is CheckValueType integer constant.

isTripleState/setTripleState : boolean 

function isTripleState() / function setTripleState(value)
Indicates how the specified control will display Null values. ///
Setting Description 
TrueThe control will cycle through states for Yes, No, and Null values. The control appears dimmed (grayed) when its Value property is set to Null.
False(Default) The control will cycle through states for Yes and No values. Null values display as if they were No values.

isEnabled/setEnabled : boolean 

function isEnabled() / function setEnabled(value)
Indicates whether whether the control can receive the focus and respond to user-generated events.

isLocked/setLocked : boolean 

function isLocked() / function setLocked(value)
Indicates whether data in the control is locked for editing.

isTransparent/setTransparent : boolean 

function isTransparent() / function setTransparent(value)
Indicates whether the control is transparent.

isAutoSize/setAutoSize : boolean 

function isAutoSize() / function setAutoSize(value)
Indicates whether the control will automatically resize to display its entire contents.

getIMEMode/setIMEMode : Number 

function getIMEMode() / function setIMEMode(value)
Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus. The value of the property is InputMethodEditorMode integer constant.

getData : byte[] 

function getData()
Gets and sets the binary data of the control.

getWidth/setWidth : Number 

function getWidth() / function setWidth(value)
Gets and sets the width of the control in unit of point.

getHeight/setHeight : Number 

function getHeight() / function setHeight(value)
Gets and sets the height of the control in unit of points.

getMouseIcon/setMouseIcon : byte[] 

function getMouseIcon() / function setMouseIcon(value)
Gets and sets a custom icon to display as the mouse pointer for the control.

getMousePointer/setMousePointer : Number 

function getMousePointer() / function setMousePointer(value)
Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMousePointerType integer constant.

getForeOleColor/setForeOleColor : Number 

function getForeOleColor() / function setForeOleColor(value)
Gets and sets the ole color of the foreground. Not applies to Image control.

getBackOleColor/setBackOleColor : Number 

function getBackOleColor() / function setBackOleColor(value)
Gets and sets the ole color of the background.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.