API Reference > OdDb Classes > OdDbAbstractViewportDataForDbViewTabRec Class > OdDbAbstractViewportDataForDbViewTabRec Methods > OdDbAbstractViewportDataForDbViewTabRec::setSnapOn Method
OdDbAbstractViewportDataForDbViewTabRec::setSnapOn Method
Syntax
C++
void setSnapOn(OdRxObject* pViewport, bool atOrigin) const;
Parameters 
Description 
OdRxObject* 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.