接口 IScrollBar
- 所有超级接口:
ICellLinkControl
,ICellLinkControlT<Integer>
,IControl
,IControlT<IScrollBar>
,IRangeBase
The scrollbar control.
-
方法概要
修饰符和类型方法说明int
Gets a value to be added to or subtracted from the value of a RangeBase control.Gets whether theIScrollBar
is displayed horizontally or vertically.void
setLargeChange
(int value) Sets a value to be added to or subtracted from the value of a RangeBase control.void
Sets whether theIScrollBar
is displayed horizontally or vertically.从接口继承的方法 com.grapecity.documents.excel.forms.ICellLinkControl
getDisplay3DShading, getLinkedCell, setDisplay3DShading, setLinkedCell
从接口继承的方法 com.grapecity.documents.excel.forms.IControl
bringToFront, 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, setWidth
从接口继承的方法 com.grapecity.documents.excel.forms.IRangeBase
getMax, getMin, getSmallChange, setMax, setMin, setSmallChange
-
方法详细资料
-
getLargeChange
int getLargeChange()Gets a value to be added to or subtracted from the value of a RangeBase control. When the user clicks the Track of a ScrollBar, the Value property increases or decreases by the value of LargeChange.- 返回:
- [0, 30000]
-
setLargeChange
void setLargeChange(int value) Sets a value to be added to or subtracted from the value of a RangeBase control. When the user clicks the Track of a ScrollBar, the Value property increases or decreases by the value of LargeChange.- 参数:
value
- [0,30000]
-
getOrientation
FormControlOrientation getOrientation()Gets whether theIScrollBar
is displayed horizontally or vertically.- 返回:
- The default value depends on the initial width and height that is used to create this control.If width > height then the default value is
FormControlOrientation.Horizontal
. Otherwise,FormControlOrientation.Vertical
.
-
setOrientation
Sets whether theIScrollBar
is displayed horizontally or vertically.
-