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

Returns the default physical pixel size, in mm/pixel, of the image for this raster image definition object (DXF 10).

If the image has no default pixel size, this function returns 1.0/(image width in pixels) for XY resolutions.

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