API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdAnimation Class > OdAnimation Methods > OdAnimation::getPlayOnOpenDocument Method
OdAnimation::getPlayOnOpenDocument Method
Syntax
C++
void getPlayOnOpenDocument(bool& state) const;
Parameters 
Description 
bool& state 
[out] A placeholder for the flag value. 

Returns the current value of the flag that determines whether the animation should be started when a document opens.

If the flag is true, the animation starts after the document is opened, otherwise the animation starts on user request.

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