Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a metafile for the specified shapes and their child shapes.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Function CreateMetafile ( _
selectedShapesToDraw As ICollection, _
fileName As String _
) As Metafile
public Metafile CreateMetafile(
ICollection selectedShapesToDraw,
string fileName
)
public:
Metafile^ CreateMetafile(
ICollection^ selectedShapesToDraw,
String^ fileName
)
member CreateMetafile :
selectedShapesToDraw:ICollection *
fileName:string -> Metafile
public function CreateMetafile(
selectedShapesToDraw : ICollection,
fileName : String
) : Metafile
Parameters
selectedShapesToDraw
Type: ICollectionThe shapes to add to the metafile.
fileName
Type: StringThe name of the metafile.
Return Value
Type: Metafile
The metafile that contains the shapes.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.