VideoDeviceController.TryGetPowerlineFrequency(PowerlineFrequency) VideoDeviceController.TryGetPowerlineFrequency(PowerlineFrequency) VideoDeviceController.TryGetPowerlineFrequency(PowerlineFrequency) VideoDeviceController.TryGetPowerlineFrequency(PowerlineFrequency) VideoDeviceController.TryGetPowerlineFrequency(PowerlineFrequency) Method

Definition

Gets the local power line frequency.

public : Platform::Boolean TryGetPowerlineFrequency(PowerlineFrequency value)
bool TryGetPowerlineFrequency(PowerlineFrequency const& value) const;
public bool TryGetPowerlineFrequency(PowerlineFrequency value)
Public Function TryGetPowerlineFrequency(value As PowerlineFrequency) As bool
var bool = videoDeviceController.tryGetPowerlineFrequency(value);

Parameters

value
PowerlineFrequency PowerlineFrequency PowerlineFrequency

The power line frequency.

Returns

bool bool 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.

See also