Structure to define a view carousel widget.
The PDF document must contain the buttons for the views and the buttons to go to the next and the previous view. All buttons should be on the same page. The buttons should have been primarily created with A3DPDFButtonCreate and positioned on the page with A3DPDFPageInsertButton, or they might already exist on the page.
- Retval A3D_SUCCESS
A3D_SUCCESS in case of success or an error code
List of buttons names.
Button name for ‘previous’ button.
Button name for ‘next’ button.
Reserved for future use.
Scroll step (how much buttons icons are scrolled when pushing previous or next). If m_iScrollStep = m_iNbButtons, the carousel scrolls the icons by page (all the icons are replaced in the carousel). If m_iScrollStep = the number of rows, the icons are scrolled by rows. If m_iScrollStep = the number of columns, the icons are scrolled by columns. If m_iScrollStep = 1, the carousel scrolls the icons one by one (all the icons are shifted of 1 increment in the carousel).
See A3DPDF3DViewListEnableViewTransitions to control view transition. For the carousel, it is set to A3D_TRUE by default.