typedef struct _VECTORUNIT{L_INT nSize;VECTOR_UNIT Unit;} VECTORUNIT, *pVECTORUNIT;
The VECTORUNIT provides information about the unit type used in the vector toolkit.
| Member | Description | |
| nSize | Size of this structure. Used for versioning. | |
| Unit | Value that represents the unit type. Possible values are: | |
| Value | Meaning | |
| VECTOR_UNIT_INCHES | Unit in Inches | |
| VECTOR_UNIT_FEET | Unit in Feet | |
| VECTOR_UNIT_YARDS | Unit in Yards | |
| VECTOR_UNIT_MILES | Unit in Miles | |
| VECTOR_UNIT_MICROMETERS | Unit in Micrometers | |
| VECTOR_UNIT_MILIMETERS | Unit in Millimeters | |
| VECTOR_UNIT_CENTIMETERS | Unit in Centimeters | |
| VECTOR_UNIT_METERS | Unit in Meters | |
| VECTOR_UNIT_KILOMETERS | Unit in Kilometers | |
| VECTOR_UNIT_TWIPS | Unit in Twips | |
| VECTOR_UNIT_POINTS | Unit in Points | |
| VECTOR_UNIT_PIXELS | Unit in Pixels. This is the default value. | |
pVECTORUNIT is a pointer to a VECTORUNIT structure.
The following functions make use of this structure:
LVectorBase::ConvertPointFromUnit
LVectorBase::ConvertPointToUnit
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
