IVideoWindow.BackgroundPalette

 
Microsoft DirectShow 9.0

IVideoWindow.BackgroundPalette

  • Note   This topic is deprecated. It applies to Visual Basic 6.0. DirectShow is not supported for Visual Basic .NET or C#.

The BackgroundPalette property specifies whether the video window realizes its palette in the background.

Syntax

  objVideoWindow
  .BackgroundPalette As Long

Parameters

This property takes no parameters.

Return Values

Returns True if the video renderer realizes the palette in the background, or False otherwise. The default value is False.

Remarks

If this property is True and the video image requires a palette, the video renderer will realize that palette in the background. Any colors that the palette uses will change to their closest match in the display palette prior to drawing. This ensures that an application will not have its palette disturbed. However, it imposes severe performance penalties on the video.

This property is read/write.

Requirements

Reference: Add a reference to ActiveMovie control type library.

Library: Quartz.dll.

See Also