VideoDeviceController.TrySetPowerlineFrequency(PowerlineFrequency) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the local power line frequency.
public:
virtual bool TrySetPowerlineFrequency(PowerlineFrequency value) = TrySetPowerlineFrequency;
bool TrySetPowerlineFrequency(PowerlineFrequency const& value);
public bool TrySetPowerlineFrequency(PowerlineFrequency value);
function trySetPowerlineFrequency(value)
Public Function TrySetPowerlineFrequency (value As PowerlineFrequency) As Boolean
Parameters
- value
- PowerlineFrequency
The power line frequency.
Returns
Boolean
bool
Returns true if the method succeeded, or false otherwise.
Remarks
You can use this method if the camera supports anti-flicker processing for fluorescent lights.
For how-to guidance for handling powerline frequency, see Manual camera controls for photo and video capture.