ANNRULERUNIT

typedef struct tagANNRULERUNIT 
{ 
   L_UINT uStructSize; 
   L_UINT uUnit; 
   L_TCHAR *pAbbrev; 
   L_UINT uPrecision; 
} ANNRULERUNIT, *pANNRULERUNIT; 

The ANNRULERUNIT structure contains information about the changes to be made in automated mode to the specified object.

Members

uStructSize

Size of the ANNRULERUNIT structure. Use sizeof(ANNRULERUNIT).

uUnit

The unit of measure of the ruler. Possible values are:

Value Meaning
ANNUNIT_INCH [0x0000] Inches
ANNUNIT_FEET [0x0001] Feet
ANNUNIT_YARDS [0x0002] Yards
ANNUNIT_MICROMETERS [0x0003] Micrometers
ANNUNIT_MILLIMETERS [0x0004] Millimeters
ANNUNIT_CENTIMETERS [0x0005] Centimeters
ANNUNIT_METERS [0x0006] Meters
ANNUNIT_TWIPS [0x0007] Twips
ANNUNIT_POINTS [0x0008] Points
ANNUNIT_PIXELS [0x0009] Pixels
ANNUNIT_DISPLAY [0x000C] Display (1/100 inch)
ANNUNIT_DOCUMENT [0x000D] Document (1/300 inch)

pAbbrev

Address of the character string containing the unit abbreviation string to be displayed after the distance.

uPrecision

Number of digits to be displayed after the decimal place.

Comments

This structure is part of the union of the ANNCHANGEPARAM structure. For more information, see the documentation for ANNCHANGEPARAM.

See Also

Topics

Help Version 20.0.2020.4.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help