Dela via


VideoDeviceController.TryGetPowerlineFrequency(PowerlineFrequency) Method

Definition

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.

Applies to

See also