Partager via


IAMLine21Decoder::SetDrawBackgroundMode

 
Microsoft DirectShow 9.0

IAMLine21Decoder::SetDrawBackgroundMode

The SetDrawBackgroundMode method specifies whether the Line 21 Decoder filter draws the captions on a transparent background or an opaque background. By default, the caption background is opaque.

Syntax

  HRESULT SetDrawBackgroundMode(
  AM_LINE21_DRAWBGMODE Mode
);

Parameters

Mode

Specifies a member of the AM_LINE21_DRAWBGMODE enumeration.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
E_INVALIDARG Invalid argument
S_OK Success

Requirements

Header: Include il21dec.h.

Library: Use Strmiids.lib.

See Also