API Reference > OdDb Classes > OdDbRasterImage Class > OdDbRasterImage Methods > OdDbRasterImage::setOrientation Method
OdDbRasterImage::setOrientation Method
Syntax
C++
virtual bool setOrientation(const OdGePoint3d& origin, const OdGeVector3d& u, const OdGeVector3d& v);
Parameters 
Description 
const OdGePoint3d& origin 
[in] Lower-left corner.  
const OdGeVector3d& u 
[in] Image width vector.  
const OdGeVector3d& v 
[in] Image height vector. 

Returns true if and only if successful.

Sets the orientation and origin of this raster image entity. 

 

The actual height of the image is determined by the width and aspect ratio fo the original image. 

These vectors define the outer edges of the raster image entity.

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