Diagram::CreateMetafile Method (ICollection^, String^)

 

Creates a metafile for the specified shapes and their child shapes.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
Metafile^ CreateMetafile(
	ICollection^ selectedShapesToDraw,
	String^ fileName
)

Parameters

selectedShapesToDraw
Type: System.Collections::ICollection^

The shapes to add to the metafile.

fileName
Type: System::String^

The name of the metafile.

Return Value

Type: System.Drawing.Imaging::Metafile^

The metafile that contains the shapes.

Return to top
Show: