PHP 手冊
上一頁 |  | 下一頁

# printer_draw_bmp

(no version information, might be only in CVS)

printer_draw_bmp -- Draw a bmp

## Description

void printer_draw_bmp ( resource handle, string filename, int x, int y)

The function simply draws an bmp the bitmap filename at position x, y. handle must be a valid handle to a printer.

成功回傳`TRUE`失敗回傳`FALSE`。

示範 1.printer_draw_bmp() example
`<?php $handle = printer_open(); printer_start_doc($handle, "My Document"); printer_start_page($handle); printer_draw_bmp($handle, "c:\\image.bmp", 1, 1); printer_end_page($handle); printer_end_doc($handle); printer_close($handle); ?>`

上一頁 | 最開頭 | 下一頁
printer_delete_pen | 上一層 | printer_draw_chord