GxMetafile.CreateFromClipboard

Fore Syntax

CreateFromClipboard;

Fore.NET Syntax

CreateFromClipboard();

Description

The CreateFromClipboard constructor creates a Windows metafile from the clipboard.

Fore Example

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.

Fore.NET Example

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:

GxMetafile