IVideoWindow.BorderColor

 
Microsoft DirectShow 9.0

IVideoWindow.BorderColor

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

The BorderColor property sets or retrieves the color that appears around the edges of the destination rectangle.

Syntax

  objVideoWindow
  .BorderColor As Long

Parameters

This property takes no parameters.

Return Values

Returns the color as a Long value. Treat the returned value as a COLORREF value.

Remarks

If the destination rectangle is smaller than the client area of the video window, a border is exposed around the edges of the video. The default color is black. Use this method to override the default color. If a palette is in use, a nonsystem color is converted to its closest match.

This property is read/write.

Requirements

Reference: Add a reference to ActiveMovie control type library.

Library: Quartz.dll.

See Also