Aspose::Cells::Drawing::ActiveXControls::SpinButtonActiveXControl::GetOrientation method

SpinButtonActiveXControl::GetOrientation method

Gets and sets whether the SpinButton or ScrollBar is oriented vertically or horizontally.

ControlScrollOrientation Aspose::Cells::Drawing::ActiveXControls::SpinButtonActiveXControl::GetOrientation()

Examples

if (activeXControl.GetOrientation() == ControlScrollOrientation::Auto)
{
    activeXControl.SetOrientation(ControlScrollOrientation::Horizontal);
}

See Also