VideoDeviceController.TrySetPowerlineFrequency(PowerlineFrequency) VideoDeviceController.TrySetPowerlineFrequency(PowerlineFrequency) VideoDeviceController.TrySetPowerlineFrequency(PowerlineFrequency) VideoDeviceController.TrySetPowerlineFrequency(PowerlineFrequency) VideoDeviceController.TrySetPowerlineFrequency(PowerlineFrequency) Method

Definition

Sets the local power line frequency.

public : Platform::Boolean TrySetPowerlineFrequency(PowerlineFrequency value)
bool TrySetPowerlineFrequency(PowerlineFrequency value) const;
public bool TrySetPowerlineFrequency(PowerlineFrequency value)
Public Function TrySetPowerlineFrequency(value As PowerlineFrequency) As bool
var bool = videoDeviceController.trySetPowerlineFrequency(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