API Reference > OdDb Classes > OdDbAbstractViewportDataForDbViewTabRec Class > OdDbAbstractViewportDataForDbViewTabRec Methods > OdDbAbstractViewportDataForDbViewTabRec::isSnapOn Method
OdDbAbstractViewportDataForDbViewTabRec::isSnapOn Method
Syntax
C++
bool isSnapOn(const OdRxObject* pViewport) const;
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–2021. Open Design Alliance. All rights reserved.