FilterGraphTools.SaveGraphFile Method

DirectShowLib.Utils

A Managed DirectShow Toolkit

FilterGraphTools.SaveGraphFile Method 

Save a DirectShow Graph to a GRF file

public static void SaveGraphFile(
   IGraphBuilder graphBuilder,
   string fileName
);

Parameters

graphBuilder
the IGraphBuilder interface of the graph
fileName
the file to be saved

Remarks

This method overwrites any existing file

Exceptions

Exception Type Condition
ArgumentNullException Thrown if graphBuilder is null
COMException Thrown if errors occur during the file creation

See Also

FilterGraphTools Class | DirectShowLib.Utils Namespace | LoadGraphFile