AnnSetShowFlags method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short AnnSetShowFlags(long hObject, short nShowFlags, VARIANT_BOOL bSelected);

Overview

Refer to Crossproduct Annotation Object.

Remarks

(Document/Medical only) Determines how the rulers will be displayed.

This method can be called for Ruler, Cross-Product, PolyRuler, Protractor and Automation objects.

For Protractor objects, the default value for nShowFlags is 0. For Ruler, Polyruler, and Cross-Product objects, the default value for nShowFlags is ANN_SHOW_LENGTH | ANN_SHOW_TICMARKS.

If the value of the AnnContainer property is passed as the hObject parameter, the method will modify all the annotations in the container depending on the value of bSelected parameter.

If the value of the AnnAutomation property is passed as the hObject parameter, the method will modify the default values used whenever an annotation is created.

See Also

Elements

AnnGetFillModeExt method, AnnSetFillModeExt method, AnnFillMode property, AnnAlpha property, AnnSetOptions method, AnnGetOptions method, AnnSetTextOptions method, AnnGetTextOptions method, AnnShowText property, AnnShowBorder property, AnnTextColor property, AnnAutoSnapCursor property, AnnTextEdit method, AnnShowRotateHandles property, AnnGetRotateOptions method, AnnSetRotateOptions method, AnnCalibrateRuler method, AnnGetShowFlags method

Topics

Annotations (Document/Medical only): Object Manipulation

 

Using Rulers in Annotation Objects

 

New Annotation Features of Version 14.5

 

Calibrating Annotation Ruler Objects