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

Sets a scale value for the geometry reference object.

If the new scale value is equal to 0, it means that the object is scaled to its rectangle.

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