Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel.forms Package / IScrollBar Interface / getOrientation Method
In This Topic
    getOrientation Method
    In This Topic
    Gets whether the @code:IScrollBar is displayed horizontally or vertically.
    Syntax
    FormControlOrientation getOrientation()

    Return Value

    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 @code:FormControlOrientation.Horizontal. Otherwise, @code:FormControlOrientation.Vertical .
    See Also