共用方式為


FilgraphManager.RenderFile

 
Microsoft DirectShow 9.0

FilgraphManager.RenderFile

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

The RenderFile method builds a filter graph that renders the specified file.

Syntax

  objGraph
  .RenderFile(
    
  strFileName As 
  String)

Parameters

strFileName

Name of the file to render.

Return Values

This method does not return a value.

Remarks

The Filter Graph Manager builds a filter graph for default playback, based on the file type.

Requirements

Reference: Add a reference to ActiveMovie control type library.

Library: Quartz.dll.

See Also