GetFeatureVisibility
Top  Previous  Next

Description

Returns the information on the recommended visibility for the specified camera feature.


Syntax


[VB]
Value=objActiveGeni.GetFeatureAccess ( Name ) 


[C/C++]
HRESULT GetFeatureAccess( bstr Name, bstr pValue );


Data Types
[VB]

Name: String
Return value
: String


Parameters
[C/C++]

Name [in]  
String specifying the name of the feature  
pValue [out, retval]  
Pointer to the string specifying the visibility of the feaure:  
"Beginner" - access to the feature should be available for all users  
"Expert" - access to the feature should be available for intermediate-level users  
"Guru" - access to the feature should be limited to advanced-level users  
"Invisible" - access to the feature should be available only in the API (no GUI visibility)  
"Undefined" - no visibility information available for the feature  
 

Return Values


S_OK  
Success  
E_FAIL  
Failure  
 

Example


This VB example displays the visibility of the feature:

MsgBox GetFeatureVisibility("GevTimestampControl")
 

Remarks


Per GenICam standard, the visibility of a feature gives developers a hint about how to limit the access to a specific feature depending on the user's qualification.