API Reference > OdDb Classes > OdDbAbstractViewportData Class > OdDbAbstractViewportData Methods > OdDbAbstractViewportData::setSnapOn Method
OdDbAbstractViewportData::setSnapOn Method
Syntax
C++
virtual void setSnapOn(OdRxObject* pViewport, bool snapOn) const = 0;
Parameters 
Description 
OdRxObject* pViewport 
[in] Input pointer to the viewport object.  
bool snapOn 
[in] Input snap mode flag. 

Controls the snap mode for the specified viewport object.

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