API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdCADReference Class > OdCADReference Methods > OdCADReference::setScale Method
OdCADReference::setScale Method
Syntax
C++
void setScale(double scale);
Parameters 
Description 
double scale 
[in] A new scale value. 

Sets the the CAD reference scale.

If you use the addCADReference() method of the OdPage class to add a CAD reference to a page, this method has no effect.

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