AnnSetShowFlags method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnSetShowFlags(HANNOBJECT hObject, unsigned uShowFlags, bool bSelected);

Delphi Syntax

Function AnnSetShowFlags(hObject: HANNOBJECT; uShowFlags: L_UINT; bSelected: Boolean): L_INT;

Overview

Refer to Using Rulers in Annotation Objects.

Remarks

(Document/Medical only) Determines how the rulers 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, AnnGetShowFlags method

Topics

Annotations (Document/Medical only): Object Manipulation

 

Crossproduct Annotation Object

 

Annotation Automation Object

 

Protractor Annotation Object

 

Polyruler Annotation Object

 

Ruler Annotation Object

 

Altering Annotation Object Settings

 

Using Rulers in Annotation Objects

 

New Annotation Features of Version 14.5