deprecated_A3DPDFDefineViewCarousel
-
A3DStatus
deprecated_A3DPDFDefineViewCarousel(A3DPDFDocument *pDoc, A3DPDFPage *pPage, A3DPDF3DAnnot *pAnnot, A3DAsmModelFile *pModelFile, A3DInt32 iNbButtons, A3DUTF8Char **ppButtonsNames, A3DUTF8Char *pPreviousButtonName, A3DUTF8Char *pNextButtonName, A3DInt32 iNbViews, A3DPDFView **ppViews, A3DPDFImage **ppImages, A3DInt32 iScrollStep) deprecated
A3DStatusdeprecated_A3DPDFDefineViewCarousel(A3DPDFDocument* pDoc,A3DPDFPage* pPage,A3DPDF3DAnnot* pAnnot,A3DAsmModelFile* pModelFile,A3DInt32iNbButtons,A3DUTF8Char** ppButtonsNames,A3DUTF8Char* pPreviousButtonName,A3DUTF8Char* pNextButtonName,A3DInt32iNbViews,A3DPDFView** ppViews,A3DPDFImage** ppImages,A3DInt32iScrollStep)Function to create a ‘standard’ view carousel and position it in the PDF document.
DeprecatedThis function is deprecated. Please use the
A3DPDF3DViewCarouselwidget andA3DPDFDataTableinstead to implement the same behaviour (see Data Model Module module). This will be removed in version 2026.1.0.Parameters
pDoc: The document which will contain the carousel.
pPage: The page where the carousel will be put.
pAnnot: The annotation which contains the views of the carousel.
pModelFile: The model file corresponding with the annotation.
iNbButtons: The number of buttons in the ppButtonsNames array.
ppButtonsNames: The names of the view buttons in the pdf file. The size of this array should be iNbButtonsRows*iNbButtonsCols.
pPreviousButtonName: The name of the button to press to scroll the carousel to previous views.
pNextButtonName: The name of the button to press to scroll the carousel to next views.
iNbViews: If equal to 0, all the views of the model file will be used, in the order they are found in the model file. If superior than 0, the number of the views of the next parameter.
ppViews: If NULL, all the views of the model file will be used. If not NULL, ppViews must contain the views that will be used for the carousel.
ppImages: If NULL, the images are automatically created from the views and the following applies:
Returns
A3D_SUCCESS in case of success or an error code