API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdSlideTable Class > OdSlideTable Methods > OdSlideTable::setButtons Method
OdSlideTable::setButtons Method
Syntax
C++
void setButtons(const OdString& previous_button_name, const OdString& next_button_name);
Parameters 
Description 
const OdString& previous_button_name 
[in] A name for the Previous button that slides rows upwards.  
const OdString& next_button_name 
[in] A name for the Next button that slides rows downwards. 

Sets special buttons for sliding rows upwards and downwards in the slide table. 

 

The method allows you to set only names of buttons and not captions (text strings, which are displayed at buttons). If you set Next and Previous buttons names, scrolling is implemented with these buttons. If the names of buttons are empty (by default), scrolling is implemented with a scrollbar.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.