AnnSetVisible method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short AnnSetVisible(long hObject, VARIANT_BOOL bVisible, short iFlags, BSTR pszUserList);

Overview

Refer to Implementing Annotations.

Remarks

When an object is not visible, it cannot be displayed. Some objects (notably containers) may be transparent, but if their visible-object property is VARIANT_TRUE, a user can select them with a mouse.

This method applies to multiple and selected objects based on values of the iFlags parameter.

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 iFlags 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.

To make objects belonging to a user visible, you must set ANN_FLAG_USER in iFlags, pass the user name in pszUserList, and set bVisible to VARIANT_TRUE.

See Also

Elements

AnnAlpha property, AnnAutoSnapCursor property, AnnCalibrateRuler method, AnnFillMode property, AnnGetFillModeExt method, AnnGetOptions method, AnnGetRotateOptions method, AnnGetTextOptions method, AnnSetFillModeExt method, AnnSetOptions method, AnnSetRotateOptions method, AnnSetTextOptions method, AnnShowBorder property, AnnShowRotateHandles property, AnnShowText property, AnnTextColor property, AnnTextEdit method, AnnCreate method, AnnDefine, AnnDestroy method, AnnGetVisible method, AnnInsert method, AnnSetAutoDefaults method, AnnSetSelected method

Topics

Annotations (Document/Medical only): Object Manipulation

 

Displaying and Manipulating Annotation Objects