Aspose::Cells::Drawing::ActiveXControls::CommandButtonActiveXControl class

CommandButtonActiveXControl class

Represents a command button.

class CommandButtonActiveXControl : public Aspose::Cells::Drawing::ActiveXControls::ActiveXControl

Methods

MethodDescription
ActiveXControl(ActiveXControl_Impl* impl)Constructs from an implementation object.
ActiveXControl(const ActiveXControl& src)Copy constructor.
ActiveXControl(const ActiveXControlBase& src)Constructs from a parent object.
ActiveXControlBase(ActiveXControlBase_Impl* impl)Constructs from an implementation object.
ActiveXControlBase(const ActiveXControlBase& src)Copy constructor.
CommandButtonActiveXControl(CommandButtonActiveXControl_Impl* impl)Constructs from an implementation object.
CommandButtonActiveXControl(const CommandButtonActiveXControl& src)Copy constructor.
CommandButtonActiveXControl(const ActiveXControl& src)Constructs from a parent object.
GetAccelerator()Gets and sets the accelerator key for the control.
GetBackOleColor()Gets and sets the ole color of the background.
GetCaption()Gets and set the descriptive text that appears on a control.
GetData()Gets and sets the binary data of the control.
GetFont()Represents the font of the control.
GetForeOleColor()Gets and sets the ole color of the foreground.
GetHeight()Gets and sets the height of the control in unit of points.
GetIMEMode()Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus.
GetLinkedCell()Gets and sets the linked cell.
GetListFillRange()Gets and sets the list fill range.
GetMouseIcon()Gets and sets a custom icon to display as the mouse pointer for the control.
GetMousePointer()Gets and sets the type of icon displayed as the mouse pointer for the control.
GetPicture()Gets and sets the data of the picture.
GetPicturePosition()Gets and set the location of the control’s picture relative to its caption.
GetShadow()Indicates whether to show a shadow.
GetTakeFocusOnClick()Indicates whether the control takes the focus when clicked.
GetTextAlign()Represents how to align the text used by the control.
virtual GetType()Gets the type of the ActiveX control.
GetWidth()Gets and sets the width of the control in unit of points.
GetWorkbook()Gets the Workbook object.
IsAutoSize()Indicates whether the control will automatically resize to display its entire contents.
IsEnabled()Indicates whether the control can receive the focus and respond to user-generated events.
IsLocked()Indicates whether data in the control is locked for editing.
IsNull() constChecks whether the implementation object is nullptr.
IsTransparent()Indicates whether the control is transparent.
IsVisible()Indicates whether this control is visible.
IsWordWrapped()Indicates whether the contents of the control automatically wrap at the end of a line.
explicit operator bool() constoperator bool()
operator=(const CommandButtonActiveXControl& src)operator=
operator=(const ActiveXControl& src)operator=
operator=(const ActiveXControlBase& src)operator=
SetAccelerator(char16_t value)Gets and sets the accelerator key for the control.
SetBackOleColor(int32_t value)Gets and sets the ole color of the background.
SetCaption(const U16String& value)Gets and set the descriptive text that appears on a control.
SetCaption(const char16_t* value)Gets and set the descriptive text that appears on a control.
SetForeOleColor(int32_t value)Gets and sets the ole color of the foreground.
SetHeight(double value)Gets and sets the height of the control in unit of points.
SetIMEMode(InputMethodEditorMode value)Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus.
SetIsAutoSize(bool value)Indicates whether the control will automatically resize to display its entire contents.
SetIsEnabled(bool value)Indicates whether the control can receive the focus and respond to user-generated events.
SetIsLocked(bool value)Indicates whether data in the control is locked for editing.
SetIsTransparent(bool value)Indicates whether the control is transparent.
SetIsVisible(bool value)Indicates whether this control is visible.
SetIsWordWrapped(bool value)Indicates whether the contents of the control automatically wrap at the end of a line.
SetLinkedCell(const U16String& value)Gets and sets the linked cell.
SetLinkedCell(const char16_t* value)Gets and sets the linked cell.
SetListFillRange(const U16String& value)Gets and sets the list fill range.
SetListFillRange(const char16_t* value)Gets and sets the list fill range.
SetMouseIcon(const Vector <uint8_t>& value)Gets and sets a custom icon to display as the mouse pointer for the control.
SetMousePointer(ControlMousePointerType value)Gets and sets the type of icon displayed as the mouse pointer for the control.
SetPicture(const Vector <uint8_t>& value)Gets and sets the data of the picture.
SetPicturePosition(ControlPicturePositionType value)Gets and set the location of the control’s picture relative to its caption.
SetShadow(bool value)Indicates whether to show a shadow.
SetTakeFocusOnClick(bool value)Indicates whether the control takes the focus when clicked.
SetTextAlign(TextAlignmentType value)Represents how to align the text used by the control.
SetWidth(double value)Gets and sets the width of the control in unit of points.
~ActiveXControl()Destructor.
~ActiveXControlBase()Destructor.
~CommandButtonActiveXControl()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also