API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdAnnotation Class > OdAnnotation Methods > OdAnnotation::setCarouselViews Method
OdAnnotation::setCarouselViews Method
Syntax
C++
void setCarouselViews(const OdUInt32Array& indices, const OdImagePtrArray& images);
Parameters 
Description 
const OdUInt32Array& indices 
[in] An array of view indices.  
const OdImagePtrArray& images 
[in] An array of smart pointers to image objects that are used as button preview images. 

Sets the carousel views of the annotation. 

 

A carousel view array includes a collection of views that represent different points of view to a published drawing. The number of view indices and image must be equal to the number of button names set by the setCarouselButtons function. To switch from one view to another, a set of carousel buttons is used. Each button (except the previous and next buttons) is associated with a particular view.

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