API Reference > OdDb Classes > OdDbAbstractViewportDataForDbViewport Class > OdDbAbstractViewportDataForDbViewport Methods > OdDbAbstractViewportDataForDbViewport::setSnapBase Method
OdDbAbstractViewportDataForDbViewport::setSnapBase Method
Syntax
C++
void setSnapBase(OdRxObject* pViewport, const OdGePoint2d& snapBase) const;
Parameters 
Description 
OdRxObject* pViewport 
[in] Input pointer to the viewport object.  
const OdGePoint2d& snapBase 
[in] Input snap base. 

Sets the UCS snap base point of the specified viewport object.

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