hpdf 2.0.8-mswin32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. data/History +57 -0
  2. data/License +25 -0
  3. data/README +136 -0
  4. data/docs/annotation_handling.html +503 -0
  5. data/docs/api.css +115 -0
  6. data/docs/api_reference.html +112 -0
  7. data/docs/bindings.html +242 -0
  8. data/docs/compile_your_program.html +365 -0
  9. data/docs/default.css +115 -0
  10. data/docs/destination_handling.html +620 -0
  11. data/docs/document_handling.html +4751 -0
  12. data/docs/documentation.html +110 -0
  13. data/docs/encoder_handling.html +428 -0
  14. data/docs/error_handling.html +1609 -0
  15. data/docs/examples.html +702 -0
  16. data/docs/ext_gstate.html +407 -0
  17. data/docs/font_handling.html +669 -0
  18. data/docs/fonts.html +978 -0
  19. data/docs/graphics.html +1210 -0
  20. data/docs/handles.html +204 -0
  21. data/docs/how_to_use.html +371 -0
  22. data/docs/image/Thumbs.db +0 -0
  23. data/docs/image/character_map.png +0 -0
  24. data/docs/image/encoding_list.png +0 -0
  25. data/docs/image/extgtate.png +0 -0
  26. data/docs/image/figure1.png +0 -0
  27. data/docs/image/figure10.png +0 -0
  28. data/docs/image/figure11.png +0 -0
  29. data/docs/image/figure12.png +0 -0
  30. data/docs/image/figure13.png +0 -0
  31. data/docs/image/figure14.png +0 -0
  32. data/docs/image/figure15.png +0 -0
  33. data/docs/image/figure16.png +0 -0
  34. data/docs/image/figure17.png +0 -0
  35. data/docs/image/figure18.png +0 -0
  36. data/docs/image/figure19.png +0 -0
  37. data/docs/image/figure2.png +0 -0
  38. data/docs/image/figure20.png +0 -0
  39. data/docs/image/figure21.png +0 -0
  40. data/docs/image/figure22.png +0 -0
  41. data/docs/image/figure23.png +0 -0
  42. data/docs/image/figure24.png +0 -0
  43. data/docs/image/figure25.png +0 -0
  44. data/docs/image/figure26.png +0 -0
  45. data/docs/image/figure27.png +0 -0
  46. data/docs/image/figure28.png +0 -0
  47. data/docs/image/figure3.png +0 -0
  48. data/docs/image/figure4.png +0 -0
  49. data/docs/image/figure5.png +0 -0
  50. data/docs/image/figure6.png +0 -0
  51. data/docs/image/figure7.png +0 -0
  52. data/docs/image/figure8.png +0 -0
  53. data/docs/image/figure9.png +0 -0
  54. data/docs/image/font_demo.png +0 -0
  55. data/docs/image/harulogo.png +0 -0
  56. data/docs/image/image_demo.png +0 -0
  57. data/docs/image/jpfont_demo.png +0 -0
  58. data/docs/image/line_demo.png +0 -0
  59. data/docs/image/png_demo.png +0 -0
  60. data/docs/image/text_annot.png +0 -0
  61. data/docs/image/text_demo.png +0 -0
  62. data/docs/image/text_demo2.png +0 -0
  63. data/docs/image/tt_font.png +0 -0
  64. data/docs/image_handling.html +505 -0
  65. data/docs/index.html +305 -0
  66. data/docs/install.html +243 -0
  67. data/docs/outline_handling.html +229 -0
  68. data/docs/page_handling.html +2647 -0
  69. data/docs/page_operator.html +2640 -0
  70. data/docs/useful_links.html +203 -0
  71. data/examples/arc_demo.rb +82 -0
  72. data/examples/demo.rb +91 -0
  73. data/examples/encryption.rb +41 -0
  74. data/examples/ext_gstater_demo.rb +171 -0
  75. data/examples/font_demo.rb +67 -0
  76. data/examples/jpfont_demo.rb +122 -0
  77. data/examples/line_demo.rb +301 -0
  78. data/examples/slide_show_demo.rb +139 -0
  79. data/examples/text_demo2.rb +189 -0
  80. data/examples/ttfont_demo.rb +106 -0
  81. data/lib/hpdf.so +0 -0
  82. data/tests/arc_demo.rb +82 -0
  83. data/tests/demo.rb +91 -0
  84. data/tests/encryption.rb +41 -0
  85. data/tests/ext_gstater_demo.rb +171 -0
  86. data/tests/font_demo.rb +67 -0
  87. data/tests/line_demo.rb +301 -0
  88. data/tests/slide_show_demo.rb +139 -0
  89. data/tests/test_all_examples.rb +31 -0
  90. data/tests/text_demo2.rb +189 -0
  91. metadata +137 -0
@@ -0,0 +1,620 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
2
+ <html lang="en">
3
+ <head>
4
+ <title>Haru Free PDF Library</title>
5
+ <meta http-equiv="Content-Type"
6
+ content="text/html; charset=iso-8859-1">
7
+ <link href="api.css" type="text/css" rel="stylesheet">
8
+ </head>
9
+ <body>
10
+ <div id="headcontainer">
11
+ <div class="head"><img alt="Haru Free PDF Library"
12
+ src="image/harulogo.png" style="width: 413px; height: 40px;"></div>
13
+ </div>
14
+ <div id="barcontainer">
15
+ <div class="buildbar"><a href="index.html">home</a> | <a
16
+ href="http://sourceforge.net/project/showfiles.php?group_id=83044">download</a>
17
+ |
18
+ <a href="documentation.html">documentation</a> | <a
19
+ href="examples.html">examples </a>| <a
20
+ href="http://sourceforge.net/projects/libharu/">sourceforge</a> |
21
+ <a href="http://sourceforge.net/forum/?group_id=83044">forums</a><br>
22
+ </div>
23
+ </div>
24
+ <div id="container">
25
+ <div id="mainpage">
26
+ <div id="ccol">
27
+ <h2>Destination<br>
28
+ </h2>
29
+ <h3><a name="HPDF_Destination_SetXYZ_"></a>HPDF_Destination_SetXYZ<br>
30
+ </h3>
31
+ <div class="bodytext1">
32
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
33
+ "apdf.h"<br>
34
+ <br>
35
+ HPDF_STATUS<br>
36
+ HPDF_Destination_SetXYZ&nbsp; (HPDF_Destination&nbsp; dst,<br>
37
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
38
+ HPDF_REAL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; left,<br>
39
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
40
+ HPDF_REAL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; top,<br>
41
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
42
+ HPDF_REAL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; zoom);<br>
43
+ <br>
44
+ </div>
45
+ <h4>Description<br>
46
+ </h4>
47
+ HPDF_Destination_SetXYZ() defines the appearance of a page with three
48
+ parameters which are left, top and zoom.<br>
49
+ <br>
50
+ <h4>Parameter</h4>
51
+ <span style="font-weight: bold;">dst</span>
52
+ <div class="bodytext5">The handle of a destination object.<br>
53
+ </div>
54
+ <br>
55
+ <span style="font-weight: bold;">left</span>
56
+ <div class="bodytext5">The left coordinates of the pege.<br>
57
+ </div>
58
+ <br>
59
+ <span style="font-weight: bold;">top</span><br>
60
+ <div class="bodytext5">The top coordinates of the pege.
61
+ </div>
62
+ <br>
63
+ <span style="font-weight: bold;">zoom</span><br>
64
+ <div class="bodytext5">The page magnified factor. The value must be
65
+ between 0.08(8%) to 32(%).<br>
66
+ </div>
67
+ <br>
68
+ <h4>Returns</h4>
69
+ When
70
+ HPDF_Destination_SetXYZ() succeeds, it returns HPDF_OK. Otherwise, it
71
+ returns error-code and error-handler is invoked.<br>
72
+ <br>
73
+ <h4>Error</h4>
74
+ <span style="font-weight: bold;">HPDF_INVALID_DESTINATION</span>
75
+ <div class="bodytext5">An invalid destination handle was set.<br>
76
+ &nbsp;
77
+ <br>
78
+ </div>
79
+ <span style="font-weight: bold;">HPDF_INVALID_PARAMETER</span><br>
80
+ <div class="bodytext5">An invalid value was set at either left, top or
81
+ zoom parameter.<br>
82
+ <br>
83
+ </div>
84
+ </div>
85
+ <br>
86
+ <h3><a name="HPDF_Destination_SetFit_"></a>HPDF_Destination_SetFit<br>
87
+ </h3>
88
+ <div class="bodytext1">
89
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
90
+ "apdf.h"<br>
91
+ <br>
92
+ HPDF_STATUS<br>
93
+ HPDF_Destination_SetFit&nbsp; (HPDF_Destination&nbsp; dst);<br>
94
+ <br>
95
+ </div>
96
+ <h4>Description<br>
97
+ </h4>
98
+ HPDF_Destination_Fit() sets the appearance of the page to displaying
99
+ entire page within the window. <br>
100
+ <br>
101
+ <h4>Parameter</h4>
102
+ <span style="font-weight: bold;">page</span>
103
+ <div class="bodytext5">The handle of a destination object.<br>
104
+ </div>
105
+ <br>
106
+ <h4>Returns</h4>
107
+ When
108
+ HPDF_Destination_SetFit() succeeds, it returns HPDF_OK. Otherwise, it
109
+ returns error-code and error-handler is invoked.<br>
110
+ <br>
111
+ <h4>Error</h4>
112
+ <span style="font-weight: bold;">HPDF_INVALID_DESTINATION</span>
113
+ <div class="bodytext5">An invalid destination handle was set.<br>
114
+ &nbsp;
115
+ <br>
116
+ </div>
117
+ </div>
118
+ <br>
119
+ <h3><a name="HPDF_Destination_SetFitH_"></a>HPDF_Destination_SetFitH<br>
120
+ </h3>
121
+ <div class="bodytext1">
122
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
123
+ "apdf.h"<br>
124
+ <br>
125
+ HPDF_STATUS<br>
126
+ HPDF_Destination_SetFitH&nbsp; (HPDF_Destination&nbsp; dst,<br>
127
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
128
+ &nbsp;&nbsp;
129
+ HPDF_REAL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; top);<br>
130
+ <br>
131
+ </div>
132
+ <h4>Description<br>
133
+ </h4>
134
+ HPDF_Destination_SetFitH() defines the appearance of a page to
135
+ magnifying to fit the width of the page within the window and setting
136
+ the top position of the page to the value of the "top" parameter.<br>
137
+ <br>
138
+ <h4>Parameter</h4>
139
+ <span style="font-weight: bold;">dst</span>
140
+ <div class="bodytext5">The handle of a destination object.<br>
141
+ </div>
142
+ <br>
143
+ <span style="font-weight: bold;">top</span><br>
144
+ <div class="bodytext5">The top coordinates of the pege.
145
+ </div>
146
+ <br>
147
+ <h4>Returns</h4>
148
+ When
149
+ HPDF_Destination_SetFitH() succeeds, it returns HPDF_OK. Otherwise, it
150
+ returns error-code and error-handler is invoked.<br>
151
+ <br>
152
+ <h4>Error</h4>
153
+ <span style="font-weight: bold;">HPDF_INVALID_DESTINATION</span>
154
+ <div class="bodytext5">An invalid destination handle was set.<br>
155
+ &nbsp;
156
+ <br>
157
+ </div>
158
+ <span style="font-weight: bold;">HPDF_INVALID_PARAMETER</span><br>
159
+ <div class="bodytext5">An invalid value was set at either left, top or
160
+ zoom parameter.<br>
161
+ <br>
162
+ </div>
163
+ </div>
164
+ <br>
165
+ <h3><a name="HPDF_Destination_SetFitV_"></a>HPDF_Destination_SetFitV<br>
166
+ </h3>
167
+ <div class="bodytext1">
168
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
169
+ "apdf.h"<br>
170
+ <br>
171
+ HPDF_STATUS<br>
172
+ HPDF_Destination_SetFitV&nbsp; (HPDF_Destination&nbsp; dst,<br>
173
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
174
+ &nbsp;&nbsp;
175
+ HPDF_REAL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; left);<br>
176
+ <br>
177
+ </div>
178
+ <h4>Description<br>
179
+ </h4>
180
+ HPDF_Destination_SetFitV() defines the appearance of a page to
181
+ magnifying to fit the height of the page within the window and setting
182
+ the left position of the page to the value of the "top" parameter.<br>
183
+ <br>
184
+ <h4>Parameter</h4>
185
+ <span style="font-weight: bold;">dst</span>
186
+ <div class="bodytext5">The handle of a destination object.<br>
187
+ </div>
188
+ <br>
189
+ <span style="font-weight: bold;">left</span><br>
190
+ <div class="bodytext5">The left coordinates of the pege.
191
+ </div>
192
+ <br>
193
+ <h4>Returns</h4>
194
+ When
195
+ HPDF_Destination_SetFitV() succeeds, it returns HPDF_OK. Otherwise, it
196
+ returns error-code and error-handler is invoked.<br>
197
+ <br>
198
+ <h4>Error</h4>
199
+ <span style="font-weight: bold;">HPDF_INVALID_DESTINATION</span>
200
+ <div class="bodytext5">An invalid destination handle was set.<br>
201
+ &nbsp;
202
+ <br>
203
+ </div>
204
+ <span style="font-weight: bold;">HPDF_INVALID_PARAMETER</span><br>
205
+ <div class="bodytext5">An invalid value was set at either left, top or
206
+ zoom parameter.<br>
207
+ </div>
208
+ </div>
209
+ <br>
210
+ <h3><a name="HPDF_Destination_SetFitR_"></a>HPDF_Destination_SetFitR<br>
211
+ </h3>
212
+ <div class="bodytext1">
213
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
214
+ "apdf.h"<br>
215
+ <br>
216
+ HPDF_STATUS<br>
217
+ HPDF_Destination_SetFitR&nbsp; (HPDF_Destination&nbsp; dst,<br>
218
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
219
+ HPDF_REAL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; left,<br>
220
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
221
+ HPDF_REAL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bottom,<br>
222
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
223
+ HPDF_REAL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; right,<br>
224
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
225
+ HPDF_REAL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; top);<br>
226
+ <br>
227
+ </div>
228
+ <h4>Description<br>
229
+ </h4>
230
+ HPDF_Destination_SetFitR() defines the appearance of a page to
231
+ magnifying the page to fit a rectangle specified by left, bottom, right
232
+ and top.<br>
233
+ <br>
234
+ <h4>Parameter</h4>
235
+ <span style="font-weight: bold;">dst</span>
236
+ <div class="bodytext5">The handle of a destination object.<br>
237
+ </div>
238
+ <br>
239
+ <span style="font-weight: bold;">left</span>
240
+ <div class="bodytext5">The left coordinates of the pege.<br>
241
+ </div>
242
+ <br>
243
+ <span style="font-weight: bold;">bottom</span><br>
244
+ <div class="bodytext5">The bottom coordinates of the pege.
245
+ </div>
246
+ <br>
247
+ <span style="font-weight: bold;">right</span><br>
248
+ <div class="bodytext5">The right coordinates of the pege.<br>
249
+ <br>
250
+ </div>
251
+ <span style="font-weight: bold;">top </span><br>
252
+ <div class="bodytext5">The top coordinates of the pege.</div>
253
+ <br>
254
+ <h4>Returns</h4>
255
+ When
256
+ HPDF_Destination_SetR() succeeds, it returns HPDF_OK. Otherwise, it
257
+ returns error-code and error-handler is invoked.<br>
258
+ <br>
259
+ <h4>Error</h4>
260
+ <span style="font-weight: bold;">HPDF_INVALID_DESTINATION</span>
261
+ <div class="bodytext5">An invalid destination handle was set.<br>
262
+ &nbsp;
263
+ <br>
264
+ </div>
265
+ <span style="font-weight: bold;">HPDF_INVALID_PARAMETER</span><br>
266
+ <div class="bodytext5">An invalid value was set at either left, top or
267
+ zoom parameter.<br>
268
+ <br>
269
+ </div>
270
+ </div>
271
+ <br>
272
+ <h3><a name="HPDF_Destination_SetFitB_"></a>HPDF_Destination_SetFitB<br>
273
+ </h3>
274
+ <div class="bodytext1">
275
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
276
+ "apdf.h"<br>
277
+ <br>
278
+ HPDF_STATUS<br>
279
+ HPDF_Destination_SetFitB&nbsp; (HPDF_Destination&nbsp; dst);<br>
280
+ <br>
281
+ </div>
282
+ <h4>Description<br>
283
+ </h4>
284
+ HPDF_Destination_FitB() sets the appearance of the page to
285
+ magnifying to fit&nbsp; the bounding box of the page within the window.
286
+ <br>
287
+ <br>
288
+ <h4>Parameter</h4>
289
+ <span style="font-weight: bold;">dst</span>
290
+ <div class="bodytext5">The handle of a destination object.<br>
291
+ </div>
292
+ <br>
293
+ <h4>Returns</h4>
294
+ When
295
+ HPDF_Destination_SetFitB() succeeds, it returns HPDF_OK. Otherwise, it
296
+ returns error-code and error-handler is invoked.<br>
297
+ <br>
298
+ <h4>Error</h4>
299
+ <span style="font-weight: bold;">HPDF_INVALID_DESTINATION</span>
300
+ <div class="bodytext5">An invalid destination handle was set.<br>
301
+ &nbsp;
302
+ <br>
303
+ <br>
304
+ </div>
305
+ </div>
306
+ <h3><a name="HPDF_Destination_SetFitBH_"></a>HPDF_Destination_SetFitBH<br>
307
+ </h3>
308
+ <div class="bodytext1">
309
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
310
+ "apdf.h"<br>
311
+ <br>
312
+ HPDF_STATUS<br>
313
+ HPDF_Destination_SetFitBH&nbsp; (HPDF_Destination&nbsp; dst,<br>
314
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
315
+ &nbsp; &nbsp;
316
+ HPDF_REAL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; top);<br>
317
+ <br>
318
+ </div>
319
+ <h4>Description<br>
320
+ </h4>
321
+ HPDF_Destination_SetFitBH() defines the appearance of a page to
322
+ magnifying to fit the width of the bounding box of the page within the
323
+ window and setting
324
+ the top position of the page to the value of the "top" parameter.<br>
325
+ <br>
326
+ <h4>Parameter</h4>
327
+ <span style="font-weight: bold;">dst</span>
328
+ <div class="bodytext5">The handle of a destination object.<br>
329
+ </div>
330
+ <br>
331
+ <span style="font-weight: bold;">top</span><br>
332
+ <div class="bodytext5">The top coordinates of the pege.
333
+ </div>
334
+ <br>
335
+ <h4>Returns</h4>
336
+ When
337
+ HPDF_Destination_SetFitBH() succeeds, it returns HPDF_OK. Otherwise, it
338
+ returns error-code and error-handler is invoked.<br>
339
+ <br>
340
+ <h4>Error</h4>
341
+ <span style="font-weight: bold;">HPDF_INVALID_DESTINATION</span>
342
+ <div class="bodytext5">An invalid destination handle was set.<br>
343
+ &nbsp;
344
+ <br>
345
+ </div>
346
+ <span style="font-weight: bold;">HPDF_INVALID_PARAMETER</span><br>
347
+ <div class="bodytext5">An invalid value was set at either left, top or
348
+ zoom parameter.<br>
349
+ <br>
350
+ <br>
351
+ </div>
352
+ </div>
353
+ <h3><a name="HPDF_Destination_SetFitBV_"></a>HPDF_Destination_SetFitBV<br>
354
+ </h3>
355
+ <div class="bodytext1">
356
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
357
+ "apdf.h"<br>
358
+ <br>
359
+ HPDF_STATUS<br>
360
+ HPDF_Destination_SetFitBV&nbsp; (HPDF_Destination&nbsp; dst,<br>
361
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
362
+ &nbsp; &nbsp;
363
+ HPDF_REAL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; top);<br>
364
+ <br>
365
+ </div>
366
+ <h4>Description<br>
367
+ </h4>
368
+ HPDF_Destination_SetFitBV() defines the appearance of a page to
369
+ magnifying to fit the height of the bounding box of the page within the
370
+ window and setting
371
+ the top position of the page to the value of the "top" parameter.<br>
372
+ <br>
373
+ <h4>Parameter</h4>
374
+ <span style="font-weight: bold;">dst</span>
375
+ <div class="bodytext5">The handle of a destination object.<br>
376
+ </div>
377
+ <br>
378
+ <span style="font-weight: bold;">left</span><br>
379
+ <div class="bodytext5">The left coordinates of the pege.
380
+ </div>
381
+ <br>
382
+ <h4>Returns</h4>
383
+ When
384
+ HPDF_Destination_SetFitBV() succeeds, it returns HPDF_OK. Otherwise, it
385
+ returns error-code and error-handler is invoked.<br>
386
+ <br>
387
+ <h4>Error</h4>
388
+ <span style="font-weight: bold;">HPDF_INVALID_DESTINATION</span>
389
+ <div class="bodytext5">An invalid destination handle was set.<br>
390
+ &nbsp;
391
+ <br>
392
+ </div>
393
+ <span style="font-weight: bold;">HPDF_INVALID_PARAMETER</span><br>
394
+ <div class="bodytext5">An invalid value was set at either left, top or
395
+ zoom parameter.<br>
396
+ <br>
397
+ </div>
398
+ </div>
399
+ <br>
400
+ <br>
401
+ <br>
402
+ <br>
403
+ <br>
404
+ <br>
405
+ <br>
406
+ <br>
407
+ <br>
408
+ <br>
409
+ <br>
410
+ <br>
411
+ <br>
412
+ <br>
413
+ <br>
414
+ <br>
415
+ <br>
416
+ <br>
417
+ <br>
418
+ <br>
419
+ <br>
420
+ </div>
421
+ </div>
422
+ <div id="lcol">
423
+ <div class="sidebar">
424
+ <ul>
425
+ </ul>
426
+ <ul>
427
+ <li><a href="#HPDF_Destination_SetXYZ_">HPDF_Destination_SetXYZ</a></li>
428
+ <li><a href="#HPDF_Destination_SetFit_">HPDF_Destination_SetFit</a></li>
429
+ <li><a href="#HPDF_Destination_SetFitH_">HPDF_Destination_SetFitH</a></li>
430
+ <li><a href="#HPDF_Destination_SetFitV_">HPDF_Destination_SetFitV</a></li>
431
+ <li><a href="#HPDF_Destination_SetFitR_">HPDF_Destination_SetFitR</a></li>
432
+ <li><a href="#HPDF_Destination_SetFitB_">HPDF_Destination_SetFitB</a></li>
433
+ <li><a href="#HPDF_Destination_SetFitBH_">HPDF_Destination_SetFitBH</a></li>
434
+ <li><a href="#HPDF_Destination_SetFitBV_">HPDF_Destination_SetFitBV</a><br>
435
+ </li>
436
+ </ul>
437
+ <br>
438
+ <br>
439
+ <br>
440
+ <br>
441
+ <br>
442
+ <br>
443
+ <br>
444
+ <br>
445
+ <br>
446
+ <br>
447
+ <br>
448
+ <br>
449
+ <br>
450
+ <br>
451
+ <br>
452
+ <br>
453
+ <br>
454
+ <br>
455
+ <br>
456
+ <br>
457
+ <br>
458
+ <br>
459
+ <br>
460
+ <br>
461
+ <br>
462
+ <br>
463
+ <br>
464
+ <br>
465
+ <br>
466
+ <br>
467
+ <br>
468
+ <br>
469
+ <br>
470
+ <br>
471
+ <br>
472
+ <br>
473
+ <br>
474
+ <br>
475
+ <br>
476
+ <br>
477
+ <br>
478
+ <br>
479
+ <br>
480
+ <br>
481
+ <br>
482
+ <br>
483
+ <br>
484
+ <br>
485
+ <br>
486
+ <br>
487
+ <br>
488
+ <br>
489
+ <br>
490
+ <br>
491
+ <br>
492
+ <br>
493
+ <br>
494
+ <br>
495
+ <br>
496
+ <br>
497
+ <br>
498
+ <br>
499
+ <br>
500
+ <br>
501
+ <br>
502
+ <br>
503
+ <br>
504
+ <br>
505
+ <br>
506
+ <br>
507
+ <br>
508
+ <br>
509
+ <br>
510
+ <br>
511
+ <br>
512
+ <br>
513
+ <br>
514
+ <br>
515
+ <br>
516
+ <br>
517
+ <br>
518
+ <br>
519
+ <br>
520
+ <br>
521
+ <br>
522
+ <br>
523
+ <br>
524
+ <br>
525
+ <br>
526
+ <br>
527
+ <br>
528
+ <br>
529
+ <br>
530
+ <br>
531
+ <br>
532
+ <br>
533
+ <br>
534
+ <br>
535
+ <br>
536
+ <br>
537
+ <br>
538
+ <br>
539
+ <br>
540
+ <br>
541
+ <br>
542
+ <br>
543
+ <br>
544
+ <br>
545
+ <br>
546
+ <br>
547
+ <br>
548
+ <br>
549
+ <br>
550
+ <br>
551
+ <br>
552
+ <br>
553
+ <br>
554
+ <br>
555
+ <br>
556
+ <br>
557
+ <br>
558
+ <br>
559
+ <br>
560
+ <br>
561
+ <br>
562
+ <br>
563
+ <br>
564
+ <br>
565
+ <br>
566
+ <br>
567
+ <br>
568
+ <br>
569
+ <br>
570
+ <br>
571
+ <br>
572
+ <br>
573
+ <br>
574
+ <br>
575
+ <br>
576
+ <br>
577
+ <br>
578
+ <br>
579
+ <br>
580
+ <br>
581
+ <br>
582
+ <br>
583
+ <br>
584
+ <br>
585
+ <br>
586
+ <br>
587
+ <br>
588
+ <br>
589
+ <br>
590
+ <br>
591
+ <br>
592
+ <br>
593
+ <br>
594
+ <br>
595
+ <br>
596
+ <br>
597
+ <br>
598
+ <br>
599
+ <br>
600
+ <br>
601
+ <br>
602
+ <br>
603
+ </div>
604
+ </div>
605
+ <br>
606
+ <br>
607
+ <br>
608
+ <br>
609
+ <br>
610
+ <br>
611
+ <br>
612
+ <br>
613
+ <br>
614
+ <br>
615
+ <br>
616
+ <br>
617
+ <br>
618
+ </div>
619
+ </body>
620
+ </html>