Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
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
0
OdDbRasterImageDef::kMillimeter
1
OdDbRasterImageDef::kCentimeter
2
OdDbRasterImageDef::kMeter
3
OdDbRasterImageDef::kKilometer
4
OdDbRasterImageDef::kInch
5
OdDbRasterImageDef::kFoot
6
OdDbRasterImageDef::kYard
7
OdDbRasterImageDef::kMile
8
OdDbRasterImageDef::kMicroinches
9
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-2022. Open Design Alliance All rights reserved.