API Reference > Namespaces > OdPdfPublish Namespace > Classes > Od2dGeometryReference Class > Od2dGeometryReference Methods > Od2dGeometryReference::setTranslation Method
Od2dGeometryReference::setTranslation Method
Syntax
C++
void setTranslation(const OdGeVector2d& vec);
Parameters 
Description 
const OdGeVector2d& vec 
[in] A translation vector to be set. 

Sets a new translation vector for the geometry reference object.

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