This shows you the differences between two versions of the page.
c:graphics.h:printimage [2015/05/06 23:06] |
c:graphics.h:printimage [2024/02/16 01:05] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== printimage ===== | ||
+ | |||
+ | |||
+ | ====Syntax of printimage ==== | ||
+ | <code c> | ||
+ | #include "graphics.h" | ||
+ | void printimage( | ||
+ | const char* title=NULL, | ||
+ | double width_inches=7, double border_left_inches=0.75, double | ||
+ | border_top_inches=0.75, | ||
+ | int left=0, int right=0, int right=INT_MAX, int bottom=INT_MAX | ||
+ | ); | ||
+ | </code> | ||
+ | |||
+ | |||
+ | ==== Description of printimage ==== | ||
+ | <code c> | ||
+ | The printimage function is available in the winbgim implementation of BGI | ||
+ | graphics. You do not need to include conio.h; just include graphics.h. | ||
+ | The function opens a windows printer dialog to allow the user to print a | ||
+ | portion of the active page from the current window. | ||
+ | See also | ||
+ | getimage | ||
+ | writeimagefile | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== See also ==== | ||
+ | [[getimage]] | ||
+ | [[writeimagefile]] | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== output of printimage example ===== | ||
+ | |||
+ | no output of example at the moment | ||
+ | do not hesitate and add it... | ||
+ | |||
+ | |||