Pages

mercredi 24 avril 2013

Foxit PDF SDK ActiveX Professionnal - ShowToolbarButton

Testé sous Windows 7 Ultimate & Foxit PDF SDK ActiveX Professionnal 5.0

Dans la documentation de l'ActiveX Professionnal de Foxit, il est indiqué qu'il est possible d'utiliser une procédure "ShowToolbarButton" pour afficher ou non des boutons dans la barre d'outil. Cette procédure accepte deux paramètres l'index du bouton et un booléen indiquant si ce bouton doit être visible ou non.

D'accord mais quel index correspond à quel bouton. Ci-dessous la liste des numéros d'index.

0 : Open
1 : Close
2 : Save
3 : Save As
4 : Print
5 : Séparateur 1
6 : First Page
7 : Previous Page
8 : Next Page
9 : Last Page
10 : Séparateur 2
11 : Previous View
12 : Next View
13 : Séparateur 3
14 : Rotate Clockwise
15 : Rotate Counterclockwise
16 : Séparateur 4
17 : Zoom In Tool
18 : Zoom Out Tool
19 : Zoom In
20 : Zoom Out
21 : Séparateur 5
22 : Actual Size
23 : Fit Page
24 : Fit Width
25 : Séparateur 6
26 : Search
27 : Bookmark
28 : Séparateur 7
29 : Hand
30 : Select Text
31 : Snapshot
32 : About