API Reference > Classes > PRC Database Auxiliary Classes > OdPrcUnitsFormatterImpl Class > OdPrcUnitsFormatterImpl Methods > OdPrcUnitsFormatterImpl::setDatabase Method
OdPrcUnitsFormatterImpl::setDatabase Method
Syntax
C++
void setDatabase(OdPrcFile* db);
Parameters 
Description 
OdPrcFile* db 
[in] A pointer to an associated database (.prc file). 

Sets a database that the unit formatter is associated with. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.