共用方式為


ICameraControl::put_PanTiltRelative

 
Microsoft DirectShow 9.0

ICameraControl::put_PanTiltRelative

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

The put_PanTiltRelative method sets the camera's relative pan and tilt. The relative pan and tilt are expressed as a number of steps, where the size of each step depends on the camera model.

Syntax

  HRESULT put_PanTiltRelative(
  long  PanValue,
  long  TiltValue,
  long  Flags
);

Parameters

PanValue

[in]  Specifies the relative pan. See ICameraControl::put_PanRelative.

TiltValue

[in]  Specifies the relative tilt. See ICameraControl::put_TiltRelative.

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