VideoDeviceController.TryGetPowerlineFrequency(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.
Gets the local power line frequency.
public:
virtual bool TryGetPowerlineFrequency([Out] PowerlineFrequency & value) = TryGetPowerlineFrequency;
bool TryGetPowerlineFrequency([Out] PowerlineFrequency & value);
public bool TryGetPowerlineFrequency(out PowerlineFrequency value);
Public Function TryGetPowerlineFrequency (ByRef 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.