Dela via


VideoDeviceController.TrySetPowerlineFrequency(PowerlineFrequency) Method

Definition

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.

Applies to

See also