API Reference > OdDb Classes > OdDbViewport Class > OdDbViewport Methods > OdDbViewport::setViewCenter Method
OdDbViewport::setViewCenter Method
Syntax
C++
void setViewCenter(const OdGePoint2d& viewCenter);
Parameters 
Description 
const OdGePoint2d& viewCenter 
[in] View center. 

Sets the DCS view center of this Viewport object (DXF 12).

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