AnnSetVisible method (ILEADRasterAnnotation)
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