API_UnitTypeID
Unit preferences에 대한 가능한 값들입니다; 길이 타입 포맷들입니다.
typedef enum {
APIUnit_Metric,
APIUnit_Centimetric,
APIUnit_Millimetric,
APIUnit_FootInch,
APIUnit_FootDecInch,
APIUnit_DecFoot,
APIUnit_Inch,
APIUnit_DecInch,
APIUnit_Decimetric,
APIUnit_DecYard,
APIUnit_Gallon
} API_UnitTypeID;
멤버
- APIUnit_Metric
- 좌표/길이가 미터 단위로 표시됩니다.
- APIUnit_Centimetric
- 좌표/길이가 센티미터 단위로 표시됩니다.
- APIUnit_Millimetric
- 좌표/길이가 밀리미터 단위로 표시됩니다.
- APIUnit_FootInch
- 좌표/길이가 피트, 인치 단위로 표시됩니다.
- APIUnit_FootDecInch
- 좌표/길이가 피트와 소수(decimal) 인치로 표시됩니다.
- APIUnit_DecFoot
- 좌표/길이가 소수(decimal) 피트로 표시됩니다.
- APIUnit_Inch
- 좌표/길이가 인치 단위로 표시됩니다.
- APIUnit_DecInch
- 좌표/길이가 소수(decimal) 인치 단위로 표시됩니다.
- APIUnit_Decimetric
- 부피 계산 단위들에 대해서만 유효합니다.
- APIUnit_DecYard
- 부피 계산 단위들에 대해서만 유효합니다.
- APIUnit_Gallon
- 부피 계산 단위들에 대해서만 유효합니다.
설명
더 자세한 것은 API_UnitPrefs 레코드를 참조하십시오.
요구사항
- 버전: API 2.1 또는 이후
- 헤더: APIdefs_Environment.h