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

Returns true if and only if the snap mode is on for the specified viewport object.

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