public class CommandButtonActiveXControl extends ActiveXControl
| Modifier and Type | Method and Description |
|---|---|
char |
getAccelerator()
Gets the accelerator key for the control.
|
java.lang.String |
getCaption()
Gets the descriptive text that appears on a control.
|
byte[] |
getPicture()
Gets the data of the picture.
|
int |
getPicturePosition()
Gets the location of the control's picture relative to its caption.
|
boolean |
getTakeFocusOnClick()
Indicates whether the control takes the focus when clicked.
|
int |
getType()
Gets the type of the ActiveX control.
|
boolean |
isWordWrapped()
Indicates whether the contents of the control automatically wrap at the end of a line.
|
void |
setAccelerator(char value)
Sets the accelerator key for the control.
|
void |
setCaption(java.lang.String value)
Sets the descriptive text that appears on a control.
|
void |
setPicture(byte[] value)
Sets the data of the picture.
|
void |
setPicturePosition(int value)
Sets the location of the control's picture relative to its caption.
|
void |
setTakeFocusOnClick(boolean value)
Indicates whether the control takes the focus when clicked.
|
void |
setWordWrapped(boolean value)
Indicates whether the contents of the control automatically wrap at the end of a line.
|
getData, getFont, getIMEMode, getTextAlign, isAutoSize, isEnabled, isLocked, isTransparent, setAutoSize, setEnabled, setIMEMode, setLocked, setTextAlign, setTransparentgetBackOleColor, getForeOleColor, getHeight, getLinkedCell, getListFillRange, getMouseIcon, getMousePointer, getShadow, getWidth, getWorkbook, isVisible, setBackOleColor, setForeOleColor, setHeight, setLinkedCell, setListFillRange, setMouseIcon, setMousePointer, setShadow, setVisible, setWidthpublic int getType()
See ControlType.
getType in class ActiveXControlBasepublic java.lang.String getCaption()
public void setCaption(java.lang.String value)
public int getPicturePosition()
public void setPicturePosition(int value)
public byte[] getPicture()
public void setPicture(byte[] value)
public char getAccelerator()
public void setAccelerator(char value)
public boolean getTakeFocusOnClick()
public void setTakeFocusOnClick(boolean value)
public boolean isWordWrapped()
public void setWordWrapped(boolean value)
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.