GxRectangleTransformImage.CreateFromClipboard

Syntax

CreateFromClipboard;

Description

The CreateFromClipboard constructor creates an image with fixed areas from the clipboard.

Example

Function GetTransformImage(MLeft: Double; MTop: Double; MRight: Double; MBottom: Double): IGxRectangleTransformImage;
Var
    OutImg: IGxRectangleTransformImage;
    Margins: IGxMargins;
Begin
    OutImg := New GxRectangleTransformImage.CreateFromClipboard;
    Margins := OutImg.Margins;
    Margins.Bottom := MBottom;
    Margins.Left := MLeft;
    Margins.Right := MRight;
    Margins.Top := MTop;
    Return OutImg;
End Function GetTransformImage;

This function returns the image obtained from the clipboard. The image is transformed by entering fixed areas, which sizes are passed as input parameters.

See also:

GxRectangleTransformImage