SetFeature64
Top  Previous  Next

Description

Sets the numerical value of the specified 64-bit camera feature.


Syntax


[VB]
Value=objActiveUSB.SetFeature64 Name, Value


[C/C++]
HRESULT SetFeature64(bstr Name, double Value );


Data Types
[VB]

Name: String
Value
: Double


Parameters
[C/C++]

Name [in]  
String specifying the name of the feature  
Value [in]  
Numerical value of the feature to be set  


Return Values


S_OK  
Success  
E_NOINTERFACE        
Feature does not exist or not available  
E_FAIL  
Failed to read the feature  
 

Example


The following VB example demonstrates how to set the value of a 64-bit feature.

Dim
 dx 
As Double

dx=
3.141592653589793238

ActiveUSB1.SetFeature64 "LargeFeature",dx




 

Remarks


It is recommended to use this method only for those integer and floating point features whose length is 64-bit.

If the currently selected camera does not support the specified feature, the method will generate an error.