GrabDrawingImage()

Syntax

Result = GrabDrawingImage(#Image, x, y, Width, Height)
Description
Create a new #Image with the content of the given area in the current output. If #PB_Any is used as '#Image' parameter, the new image number will be returned as 'Result'.

Any parts of the specified area that are outside of the drawing output will be undefined in the created images. Also if the current output is WindowOutput(), any part of the window that is currently not visible may be undefined in the resulting image.

Note: This command does not work with PrinterOutput().

Supported OS

All

<- FrontColor() - 2DDrawing Index - GradientColor() ->