AnnGetShowFlags method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnGetShowFlags(HANNOBJECT hObject, unsigned &uShowFlags);

Delphi Syntax

Function AnnGetShowFlags(hObject: HANNOBJECT; var uShowFlags: L_UINT): L_INT;

Overview

Refer to Using Rulers in Annotation Objects.

Remarks

(Document/Medical only) Gets a value that indicates how the Rulers, Polyrulers, Cross-products, and Protractors will be displayed.

This method is valid for the following objects:

ANNOBJECT_CROSSPRODUCT

ANNOBJECT_POLYRULER

ANNOBJECT_PROTRACTOR

ANNOBJECT_RULER

In addition, the Automation object (ANNOBJECT_AUTOMATION) stores node settings along with the other object default settings

For Protractor objects, the default value for uShowFlags is 0. For the Ruler, PolyRuler, and Cross-Product objects the default value for uShowFlags is ANNSHOW_LENGTH + ANNSHOW_TICMARKS.

See Also

Elements

AnnRulerUnit property, AnnSmartUnit property, AnnDistance property, AnnTotalDistance property, AnnTotalRulerUnit property, AnnTotalSmartUnit property, AnnDistanceCount property, AnnRulerUnit property, AnnGetDistance2 method, AnnGetDistance method, AnnSetUnit method, AnnGetUnit method, AnnSetGaugeLength method, AnnGetGaugeLength method, AnnTicMarkLength property, AnnSetShowFlags method

Topics

Annotations (Document/Medical only): Object Manipulation

 

Annotations (Document/Medical only): Object Information

 

Crossproduct Annotation Object

 

Annotation Automation Object

 

Protractor Annotation Object

 

Polyruler Annotation Object

 

Ruler Annotation Object

 

Using Rulers in Annotation Objects

 

New Annotation Features of Version 14.5