API Reference > Extension Classes > ExServices Classes > OdExGiRasterImage Class > OdExGiRasterImage Methods > OdExGiRasterImage::setDefaultResolution Method
OdExGiRasterImage::setDefaultResolution Method
Syntax
C++
void setDefaultResolution(OdGiRasterImage::Units units, double xPelsPerUnit, double yPelsPerUnit);
Parameters 
Description 
OdGiRasterImage::Units units 
[in] Units. 
double xPelsPerUnit 
[in] Pixels per unit value (x direction).  
double yPelsPerUnit 
[in] Pixels per unit value (y direction).  

Sets the default image resolution in pixels per unit of this RasterImage object. 

 

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