API Reference > OdDb Classes > OdDbAbstractViewportDataForDbViewport Class > OdDbAbstractViewportDataForDbViewport Methods > OdDbAbstractViewportDataForDbViewport::setSnapOn Method
OdDbAbstractViewportDataForDbViewport::setSnapOn Method
Syntax
C++
void setSnapOn(OdRxObject* pViewport, bool iconVisible) 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.