API Reference > OdDb Classes > OdDbRasterVariables Class > OdDbRasterVariables Methods > OdDbRasterVariables::setUserScale Method
OdDbRasterVariables::setUserScale Method
Syntax
C++
virtual void setUserScale(OdDbRasterImageDef::Units units);
Parameters 
Description 
OdDbRasterImageDef::Units units 
[in] Real-world units. 

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

 

units must be 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.