[]
IContentControl, IControl, IControlT<IGroupBox>A group box is a content control that can display caption text and define a visual boundary for related form controls. It is commonly used to group option buttons so that buttons placed within the same group box behave as a related set.
IGroupBox groupBox = worksheet.getControls().addGroupBox(20, 20, 140, 80);
groupBox.setText("Priority");
groupBox.setDisplay3DShading(true);
IOptionButton optionButton = worksheet.getControls().addOptionButton(30, 45, 90, 18);
optionButton.setText("High");
booleanvoidsetDisplay3DShading(boolean value) getLockedText, getText, setLockedText, setTextbringToFront, delete, getBottomRightCell, getEnabled, getFormControlType, getHeight, getLeft, getLocked, getName, getParent, getPlacement, getPrintObject, getShapeRange, getTop, getTopLeftCell, getVisible, getWidth, getZOrder, sendToBack, setEnabled, setHeight, setLeft, setLocked, setName, setPlacement, setPrintObject, setTop, setVisible, setWidthReturns true if 3D shading is displayed for the group box; otherwise, false.
IGroupBox groupBox = worksheet.getControls().addGroupBox(20, 20, 140, 80);
groupBox.setText("Priority");
groupBox.setDisplay3DShading(true);
boolean display3DShading = groupBox.getDisplay3DShading();
true if 3D shading is displayed for the group box; otherwise, false.Sets true if 3D shading is displayed for the group box; otherwise, false.
IGroupBox groupBox = worksheet.getControls().addGroupBox(20, 20, 140, 80);
groupBox.setText("Priority");
groupBox.setDisplay3DShading(true);
value - true if 3D shading is displayed for the group box; otherwise, false.