AnnUnit property (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short AnnUnit

Overview

Refer to Implementing Annotations.

Remarks

(Read only) Gets the object's unit of measurement. This property is updated by calling the AnnGetUnit method. Possible values are:

Value

Meaning

ANN_UNIT_INCHES

[0x0000] inches

ANN_UNIT_FEET

[0x0001] feet

ANN_UNIT_YARDS

[0x0002] yards

ANN_UNIT_MICROMETERS

[0x0003] micrometers

ANN_UNIT_MILIMETERS

[0x0004] millimeters

ANN_UNIT_CENTIMETERS

[0x0005] centimeters

ANN_UNIT_METERS

[0x0006] meters

ANN_UNIT_TWIPS

[0x0007] twips

ANN_UNIT_POINTS

[0x0008] points

ANN_UNIT_PIXELS

[0x0009] pixels

ANN_UNIT_SMART_METRIC

[0x0010] Smart Metric

ANN_UNIT_SMART_ENGLISH

[0x0011] Smart English

See Also

Elements:

AnnSetGaugeLength method, AnnSetBitmapDpiX method, AnnGetBitmapDpiX method, AnnGetBitmapDpiY method, AnnSetBitmapDpiY method, AnnSetUnit method, AnnGetDistance method, AnnGetGaugeLength method, AnnGetUnit method

 

Using Rulers in Annotation Objects