| Special File Handling |
|
| Format | OPEN (chan)"*BITMAP*"[;options] Where: |
|
| chan | Channel or logical file number; e.g., OPEN (1)"*BITMAP*" | |
| options | The following options are supported following *BITMAP*: | |
| DPI=nnn Image resolution in dots per inch. The value given must be greater than 0. If not specified, the default is 120. | ||
| LENGTH=nnn.nn Image height in inches (to 2 decimal places). If not specified, the default is 11. ORIENTATION={ANDSCAPE | PORTRAIT} Swaps the width and length (rotates the image). If not specified, the default is PORTRAIT. WIDTH=nnn.nn Image width in inches (to 2 decimal places). If not specified, the default is 8.5. |
||
| *BITMAP* | Keyword, not case-sensitive. Special interface, enclosed in quotation marks within OPEN directive. (Include asterisks in syntax.) | |
| Description | *BITMAP* is a special file for generating a 24-bit colour bitmap image in memory. You can open this file and PRINT an image to it, just as you would using *WINPRT*. The generated image can then be printed to either the screen or printer using the 'PICTURE' mnemonic. |
|
| *Warning* | 24-bit colour at high DPI (resolution) can use very large amounts of memory. If there are insufficient operating system resources available, the result will be an Error #15: Operating system command failed. | |
| See Also | 'PICTURE' Mnemonic. | |
| Example | 0010 BEGIN ; OPEN (12)"*bitmap*"; PRINT 'CS', 0020 PRINT (12)'RECTANGLE'(@X(1),@Y(1),@X(10),@Y(5)), 0030 PRINT (12)'TEXT'(@X(12),@Y(2),"Howdy"), 0050 PRINT 'PICTURE'(@X(40),@Y(0),@X(79),@Y(24),"#12",0), |
|