AnnSetVisible method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnSetVisible (LEADTyp::L_HANDLE hObject, bool bVisible, int iFlags, char * pszUserList);

Delphi Syntax

Function AnnSetVisible (hObject: L_HANDLE; bVisible: Boolean; iFlags: Integer; pszUserList: PChar): Integer;

Overview

Refer to Implementing Annotations.

Remarks

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

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

To make objects belonging to a user visible, you must set ANNFLAG_USER in iFlags, pass the user name in pUserList, and set bVisible to True.

See Also

Elements

AnnCreate method, AnnDefine method, AnnDestroy method, AnnGetVisible method, AnnInsert method, AnnSetAutoDefaults method, AnnSetSelected method

Topics

Annotations (Document/Medical only): Object Manipulation

 

Displaying and Manipulating Annotation Objects