Share via


ICameraControl::put_Tilt

 
Microsoft DirectShow 9.0

ICameraControl::put_Tilt

This topic applies only to Windows XP Service Pack 2 and later.

The put_Tilt method sets the camera's tilt angle.

Syntax

  HRESULT put_Tilt(
  long  Value,
  long  Flags
);

Parameters

Value

[in]  Specifies the tilt angle, in degrees. Positive values point the camera up, and negative values point the camera down. Theoretical values range from –180 degrees to +180 degrees, but the actual range depends on the camera. See ICameraControl::getRange_Tilt.

Flags

[in]  Zero or more flags. See CameraControlFlags. If the CameraControl_Flags_Auto flag is used, the Value parameter is ignored and the camera sets the default value.

Return Values

Returns an HRESULT value.

Requirements

Header: Include Vidcap.h.

Library: Use Strmiids.lib.

See Also