CreateFromClipboard;
CreateFromClipboard();
The CreateFromClipboard constructor creates a Windows metafile from the clipboard.
Function GetMetafileFromClipboard: IGxMetafile;
Var
Mtf: IGxMetafile;
Begin
Mtf := New GxMetafile.CreateFromClipboard;
Return Mtf;
End Function GetMetafileFromClipboard;
The function returns the metafile obtained from the clipboard.
Imports Prognoz.Platform.Interop.Drawing;
Function GetMetafileFromClipboard(): GxMetafile;
Var
Mtf: GxMetafile = New GxMetafileClass_2();
Begin
Mtf.CreateFromClipboard();
Return Mtf;
End Function;
This function returns the metafile obtained from the clipboard.
See also: