ArcBasicDocs

CopyRect

Copies a rectangle.

CopyRect ( src_x,src_y,width,height,dest_x,dest_y[,src_buffer][,dest_buffer] )

Parameters

src_x
the rectangle's left edge.
src_y
its top edge.
width
how wide it is.
height
how tall it is.
dest_x
where its left edge goes.
dest_y
where its top edge goes.
src_buffer (optional)
the buffer to copy from, or 0 for the current one.
dest_buffer (optional)
the buffer to copy to, or 0 for the current one.

Description

Copies a rectangle of pixels from one buffer to another, or within the same buffer.

See also