Diagram::CreateMetafile Method (ICollection^, String^, Boolean)
Visual Studio 2015
Creates a metafile of the specified shapes and their descendants at 100%.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: Metafile^ CreateMetafile( ICollection^ selectedShapesToDraw, String^ fileName, bool paintDiagram )
Parameters
- selectedShapesToDraw
-
Type:
System.Collections::ICollection^
The collection of shapes to draw.
- fileName
-
Type:
System::String^
The metafile file name to create. If this is null, then the metafile will be created in memory.
- paintDiagram
-
Type:
System::Boolean
true if diagram will also be painted when meta file is created.
Return Value
Type: System.Drawing.Imaging::Metafile^A metafile of the specified shapes and their descendants.
Show: