Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Forked Xestia Scanner Server!
[xestiascansrv/.git] / Documentation / English (British) / developer-chapter1-scan-final.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">\r
2 <html>\r
3         <head>\r
4                 <link href="style.css" REL="stylesheet" TYPE="text/css" MEDIA="screen">\r
5                 <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">\r
6                 <title>Xestia Scanner Server Documentation - Developer Documentation - 1.19 xestiascan_scan_final</title>\r
7         </head>\r
8         <body>\r
9                 <div class="menubarback">\r
10                         <div class="menubar">\r
11                                 <span class="apptitle">Xestia Scanner Server</span>\r
12                                 <a href="index.html">Index</a> | <a href="user.html">User \r
13 Documentation</a> | <a href="tutorial.html">Tutorial Documentation</a> | \r
14 <a href="developer.html">Developer Documentation</a>\r
15                         </div>\r
16                 </div>\r
17                 <div class="pageinformation">\r
18                         <span class="pagetitle">1.19 xestiascan_scan_final</span>\r
19 <br><br>\r
20 xestiascan_scan_final scans a document and presents a list of available output and export modules.\r
21 <br><br>\r
22 <b>Parameters:</b>\r
23 <br><br>\r
24 <div class="code">\r
25 xestiascan_scan_final(confirm, pageoptions);\r
26 </div>\r
27 <br><br>\r
28 <b>Usage:</b>\r
29 <br><br>\r
30 <div class="code">\r
31 $previewoptions{ScannerID} = $form_data->{'scanner'};<br>\r
32 $previewoptions{Brightness} = $form_data->{'brightness'};<br>\r
33 $previewoptions{Contrast} = $form_data->{'contrast'};<br>\r
34 $previewoptions{Rotate} = $form_data->{'rotate'};<br>\r
35 $previewoptions{Colour} = $form_data->{'colourtype'};<br>\r
36 $previewoptions{Resolution} = $form_data->{'imagedpi'};<br>\r
37 $previewoptions{TopLeftX} = $form_data->{'topleftx'};<br>\r
38 $previewoptions{TopLeftY} = $form_data->{'toplefty'};<br>\r
39 $previewoptions{BottomRightX} = $form_data->{'bottomrightx'};<br>\r
40 $previewoptions{BottomRightY} = $form_data->{'bottomrighty'};<br>\r
41 <br><br>\r
42 $page_data = xestiascan_scan_final(1, %previewoptions);<br>\r
43 </div>\r
44 <br><br>\r
45 <i>confirm</i><br>\r
46 Confirms the action to scan a document\r
47 <br><br>\r
48 <i>pageoptions</i><br>\r
49 Specifies the following document options as a hash.\r
50 <br><br>\r
51 <table class="infotable">\r
52  <tr>\r
53   <td class="tableheading">Setting</td>\r
54   <td class="tableheading">Value</td>\r
55  </tr>\r
56  <tr>\r
57   <td class="tabledata">ScannerID</td>\r
58   <td class="tabledata">Specifies the SANE Scanner ID to preview a document with.</td>\r
59  </tr>\r
60  <tr>\r
61   <td class="tabledata">Brightness</td>\r
62   <td class="tabledata">Specifies how bright the document should have.</td>\r
63  </tr>\r
64  <tr>\r
65   <td class="tabledata">Contrast</td>\r
66   <td class="tabledata">Specifies how much contrast the document have.</td>\r
67  </tr>\r
68  <tr>\r
69   <td class="tabledata">Rotate</td>\r
70   <td class="tabledata">Specifies the rotation of the document (0, 90, 180, or 270 degrees).</td>\r
71  </tr>\r
72  <tr>\r
73   <td class="tabledata">Colour</td>\r
74   <td class="tabledata">Specifies if the document should be grey or RGB.</td>\r
75  </tr>\r
76  <tr>\r
77   <td class="tabledata">Resolution</td>\r
78   <td class="tabledata">Specifies the resolution of the document.</td>\r
79  </tr>\r
80  <tr>\r
81   <td class="tabledata">TopLeftX</td>\r
82   <td class="tabledata">Specifies the top left X position of the document to scan from.</td>\r
83  </tr>\r
84  <tr>\r
85   <td class="tabledata">TopLeftY</td>\r
86   <td class="tabledata">Specifies the top left Y position of the document to scan from.</td>\r
87  </tr>\r
88  <tr>\r
89   <td class="tabledata">BottomRightX</td>\r
90   <td class="tabledata">Specifies the bottom right X position of the document to scan to.</td>\r
91  </tr>\r
92  <tr>\r
93   <td class="tabledata">BottomRightY</td>\r
94   <td class="tabledata">Specifies the bottom right Y position of the document to scan to.</td>\r
95  </tr>\r
96 </table>\r
97                 </div>\r
98         </body>\r
99 </html>\r
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy