API Reference > OdDb Classes > OdDbDatabase Class > OdDbDatabase Methods > OdDbDatabase::isValidLineWeight Method
OdDbDatabase::isValidLineWeight Method
Syntax
C++
static bool isValidLineWeight(int weight);
Parameters 
Description 
int weight 
[in] The lineweight value. 

Requires a lineweight and returns True if the specified lineweight is valid, that is, one of the predefined lineweights in this database, or False otherwise. 

 

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