INTERFACE_OPTION Enumeration
INTERFACE_OPTION enumeration contains a number of values corresponding to each button or control that can appear in Print2Flash document interface. These values can be combined with OR bitwise operator to obtain a value corresponding to several controls.
INTERFACE_OPTION enumeration values are as follows:
Name | Hex value | Decimal value | Meaning |
---|---|---|---|
INTLOGO |
00000001 |
1 | Print2Flash logo |
INTDRAG |
00000002 |
2 | Drag button |
INTSELTEXT |
00000004 |
4 | Select Text button |
INTZOOMSLIDER |
00000008 |
8 | Zoom slider |
INTZOOMBOX |
00000010 |
16 | Zoom box |
INTFITWIDTH |
00000020 |
32 | Fit Width button |
INTFITPAGE |
00000040 |
64 | Fit Page button |
INTPREVPAGE |
00000080 |
128 | Previous Page button |
INTGOTOPAGE |
00000100 |
256 | Go to Page box |
INTNEXTPAGE |
00000200 |
512 | Next Page button |
INTSEARCHBOX |
00000400 |
1024 | Search box |
INTSEARCHBUT |
00000800 |
2048 | Search button |
INTROTATE |
00001000 |
4096 | Rotate button |
INTPRINT |
00002000 |
8192 | Print button |
INTPRINTAUTO | 00402000 | 4202496 | Hide Print button if it can be detected that the browser does not properly support printing. Otherwise, show the button |
INTNEWWIND |
00004000 |
16384 | Open in New Window button |
INTHELP |
00008000 |
32768 | Help button |
INTBACKBUTTON | 00030000 | 196608 | Always show Back button |
INTBACKBUTTONAUTO | 00010000 | 65536 | Show Back button only if internal links are present in the document |
INTFORWARDBUTTON | 000C0000 | 786432 | Always show Forward button |
INTFORWARDBUTTONAUTO | 00040000 | 262144 | Show Forward button only if internal links are present in the document |
INTFULLSCREEN | 00300000 | 3145728 | Always show Full Screen button |
INTFULLSCREENAUTO | 00100000 | 1048576 | Hide Full Screen button if it can be detected that Flash Player does not support or allowed to use full screen mode. Otherwise, show Full Screen button |
Back and Forward buttons may have two modes: they can be always displayed on the toolbar in all documents or they may be displayed automatically only when needed for only those documents which have internal links in them (otherwise, these buttons are useless). These options represent the functionality of Back Button and Forward Button controls in the Interface tab of Document Options window. Only one flag must be present when constructing INTERFACE_OPTION enumeration value: either INTBACKBUTTON or INTBACKBUTTONAUTO flag, or either INTFORWARDBUTTON or INTFORWARDBUTTONAUTO flag, or either INTFULLSCREEN or INTFULLSCREENAUTO flag or either INTPRINT or INTPRINTAUTO flag but not both.