API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdAnimation Class > OdAnimation Methods > OdAnimation::setAutoReplay Method
OdAnimation::setAutoReplay Method
Syntax
C++
void setAutoReplay(bool state);
Parameters 
Description 
bool state 
[in] A new flag value. 

Sets the flag that determines whether the animation should be replayed.

If the flag is true, the animation is replayed instantly, otherwise the animation stops when it is finished.

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