Purpose |
Copy a
| ||||||||||||||||||||||||||||||||
Syntax |
XPRINT COPY hbmpSource???, id& [, style&] XPRINT COPY hbmpSource???, id& TO (x!, y!) [, style&] XPRINT COPY hbmpSource???, id&, (x1!, y1!)-(x2!, y2!) TO (x!, y!) [, style%] | ||||||||||||||||||||||||||||||||
Remarks |
You can copy a complete bitmap, or a portion of
it, to the host printer page. The expression hbmpSource???
specifies the handle of the source bitmap or window. The expression
id& is the unique control
identifier
in the range 1 to 65535, as assigned with the CONTROL
ADD GRAPHIC statement. id&
must be 0 for a GRAPHIC WINDOW
or a
The first form of the XPRINT COPY statement copies the complete bitmap, positioning it at (0,0), which is the upper left corner of the destination. The second form of XPRINT COPY also copies the complete bitmap, but positions it at the point specified by the parameter (x!, y!). The third form copies a portion of the bitmap, positioning it at the point specified by the parameter (x!, y!). If style& is included, it is one of the following values:
A host printer must first be connected with XPRINT ATTACH. If a host printer is not attached, error 57 is generated. | ||||||||||||||||||||||||||||||||
See also |
XPRINT ATTACH, XPRINT RENDER, XPRINT STRETCH, XPRINT SET STRETCHMODE |