API Reference > OdDb Classes > OdDbRasterImage Class > OdDbRasterImage Methods > OdDbRasterImage::scale Method
OdDbRasterImage::scale Method
Syntax
C++
virtual OdGeVector2d scale() const;

Returns the effective scale factor of this raster image entity.

The effective scale factor is the image size in drawing units divided by the original image size. 

If the original image size is unavalable, or the user has not defined a drawing unit, the image width is assumed to be one drawing unit.

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