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.

Member

Description

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

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:

WM_LTANNEVENT