Aspose::Cells::Drawing::ActiveXControls::SpinButtonActiveXControl::SetOrientation method

SpinButtonActiveXControl::SetOrientation method

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

void Aspose::Cells::Drawing::ActiveXControls::SpinButtonActiveXControl::SetOrientation(ControlScrollOrientation value)

Examples

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

See Also