home *** CD-ROM | disk | FTP | other *** search
-
-
-
- SSSSCCCCGGGGeeeettttPPPPaaaaggggeeeeSSSSiiiizzzzeeee((((3333)))) IIIImmmmpppprrrreeeessssssssaaaarrrriiiioooo SSSSCCCCGGGGeeeettttPPPPaaaaggggeeeeSSSSiiiizzzzeeee((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- SCGetPageSize - determine the scannable area of a scanning device
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssttttddddiiiioooo....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssccccaaaannnnnnnneeeerrrr....hhhh>>>>
-
- iiiinnnntttt SSSSCCCCGGGGeeeettttPPPPaaaaggggeeeeSSSSiiiizzzzeeee((((SSSSCCCCAAAANNNNNNNNEEEERRRR ****ssss,,,, iiiinnnntttt mmmmeeeettttrrrriiiicccc,,,, ffffllllooooaaaatttt ****xxxx,,,, ffffllllooooaaaatttt ****yyyy,,,,
- ffffllllooooaaaatttt ****wwwwiiiiddddtttthhhh,,,, ffffllllooooaaaatttt ****hhhheeeeiiiigggghhhhtttt))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _S_C_G_e_t_P_a_g_e_S_i_z_e queries a scanner for the size of the scannable area. _s
- specifies a connection to a scanner previously obtained from a call to
- _S_C_O_p_e_n(3), _S_C_O_p_e_n_F_i_l_e(3), or _S_C_O_p_e_n_S_c_r_e_e_n(3). _m_e_t_r_i_c is used to specify
- whether the results are required to be in inches (SSSSCCCC____IIIINNNNCCCCHHHHEEEESSSS) or
- centimeters (SSSSCCCC____CCCCEEEENNNNTTTTIIIIMMMM). _S_C_G_e_t_P_a_g_e_S_i_z_e returns the x and y coordinates
- of the upper left hand corner of the scannable area in _x and _y, and the
- width and height of the scannable area in _w_i_d_t_h and _h_e_i_g_h_t.
-
- RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
- _S_C_G_e_t_P_a_g_e_S_i_z_e returns 0 if successful. In the event of an error,
- _S_C_G_e_t_P_a_g_e_S_i_z_e returns -1 and sets the global variable _S_C_e_r_r_n_o to indicate
- the reason for failure.
-
- EEEEXXXXEEEECCCCUUUUTTTTIIIIOOOONNNN EEEERRRRRRRROOOORRRR CCCCOOOODDDDEEEESSSS
- _S_C_G_e_t_P_a_g_e_S_i_z_e will fail under the following circumstances.
-
- SCEBADMETRIC Unsupported metric
-
- SCECOMM Error communicating with scanner driver
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- _l_i_b_s_c_a_n(3), _S_C_O_p_e_n(3), _S_C_S_e_t_u_p(3).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-