AnnSetVisible method (Main Control)
Visual Basic
example
Visual
C++ 4.0 example
Syntax short AnnSetVisible (OLE_HANDLE hObject, BOOL bVisible, short iFlags, BSTR pUserList);
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, AnnDestroy method, AnnGetVisible method, AnnInsert method, AnnSetAutoDefaults method, AnnSetSelected method
Topics: Annotations (Document/Medical only): Object Manipulation