GxBitmap.CreateFromClipboard

Fore Syntax

CreateFromClipboard;

Fore.NET Syntax

CreateFromClipboard();

Description

The CreateFromClipboard constructor creates a bitmap from the clipboard.

Fore Example

Function GetBmpFromClipboard: IGxBitmap;
Var
    Bmp: IGxBitmap;
Begin
    Bmp := New GxBitmap.CreateFromClipboard;
    Return Bmp;
End Function GetBmpFromClipboard;

The function returns the image obtained from the clipboard.

Fore.NET Example

Imports Prognoz.Platform.Interop.Drawing;

Function GetBmpFromClipboard(): GxBitmap;
Var
    Bmp: GxBitmap = New GxBitmapClass_2();
Begin
    Bmp.CreateFromClipboard();
    Return Bmp;
End Function;

The function returns the image obtained from the clipboard.

See also:

GxBitmap