API Reference > OdDb Classes > OdDbRasterVariables Class > OdDbRasterVariables Methods > OdDbRasterVariables::userScale Method
OdDbRasterVariables::userScale Method
Syntax
C++
virtual OdDbRasterImageDef::Units userScale() const;

Returns the real-world units corresponding to drawing units (DXF 72).

units() returns one of the following: 

 

Name 
Value 
OdDbRasterImageDef::kNone 
OdDbRasterImageDef::kMillimeter 
OdDbRasterImageDef::kCentimeter 
OdDbRasterImageDef::kMeter 
OdDbRasterImageDef::kKilometer 
OdDbRasterImageDef::kInch 
OdDbRasterImageDef::kFoot 
OdDbRasterImageDef::kYard 
OdDbRasterImageDef::kMile 
OdDbRasterImageDef::kMicroinches 
OdDbRasterImageDef::kMils 
10 
OdDbRasterImageDef::kAngstroms 
11 
OdDbRasterImageDef::kNanometers 
12 
OdDbRasterImageDef::kMicrons 
13 
OdDbRasterImageDef::kDecimeters 
14 
OdDbRasterImageDef::kDekameters 
15 
OdDbRasterImageDef::kHectometers 
16 
OdDbRasterImageDef::kGigameters 
17 
OdDbRasterImageDef::kAstronomical 
18 
OdDbRasterImageDef::kLightYears 
19 
OdDbRasterImageDef::kParsecs 
20 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.