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

Controls the snap mode for the specified viewport object.

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