GetFeatureRepresentation
Top  Previous  Next

Description

Returns the information on the suggested representation for the specified camera feature.


Syntax


[VB]
Value=objActiveUSB.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 representation of the feaure:  
"Linear" - feature should be represented by a slider with the linear behaviour  
"Logarithmic" - feature should be represented by a slider with the logarithmic behaviour  
"Boolean" - feature should be represented by a check box  
"PureNumber" - feature should be represented by a text box with decimal display  
"HexNumber" - feature should be represented by a text box with hexadecimal display  
"Undefined" - no representation information available for the feature  
 


Return Values


S_OK  
Success  
E_FAIL  
Failure  
 

Example


This VB example displays the representation of the feature:

MsgBox GetFeatureRepresentation("ExposureTimeAbs")
 

Remarks


Per GenICam standard, the representation of a feature gives developers a hint about how to display and control a specific camera feature in the GUI.