Following is an alphabetical listing of properties available in the DjVu Browser Plug-in and their descriptions.
Property and Value | Description |
---|---|
DisplayGamma=# | Gamma correction setting used for onscreen display. (See "Setting Preferences".) |
DisplayMode=[color|bw|fore|back] | Sets initial display mode as Color, Mask, Foreground or Background. |
ExpiryDate | Returns the Secure DjVu document expiration date if available. |
Flags=… |
Allows any of the other property flags to be assigned in any valid combination. When you use multiple attributes, enclose them in quotation marks and separate them with spaces. Example:
This option is provided as a convenience and should not be used with the cgi-style argument-passing mechanism due to complications arising from parsing quote-delimited strings. |
Frame=[yes|no] | Enables or disables the border that frames the image when the image fits entirely within the control. |
HAlign=[left|center|right] | Specifies the horizontal alignment of the image when the whole page fits inside of the display window |
HelpURL=<url> |
A URL that points to the Help File. If a local help file is not found (Help/<language>/index.html from the directory where the control resides), the plug-in launches the default browser to this URL.
|
Highlight= “x,y,w,h[,c]” |
Creates a rectangular highlighted area with given coordinates and color. The parameters are defined as follows:
Example (single highlight):
Example (multiple highlights):
The highlight property will default to the first page unless the page property has been set. |
HyperlinkShowAllKey=[“Shift”| “Ctrl”] | Sets “Show all Hyperlinks” hot key. Also sets the “Magnifying Glass” hot key. (See "Setting Preferences".) |
HyperlinkSimpleBorder=[yes|no] | Enables fast drawing of hyperlink borders (XOR). (See "Setting Preferences".) |
Keyboard =[yes|no] | Enables or disables the use of keyboard shortcuts. |
Layout=[single|double][,cover|nocover][,gap|nogap][,ltor|rtol] | Specifies the initial layout of the document. |
Logo=[yes|no] | Enables display of the LogoImage file while a document is loading.
|
LogoImage=<file path> |
A bmp file to be displayed when the DjVu image is loading. File path can be local (relative to module path) or absolute. If NULL, then the default “DjVu” logo is specified. Default: NULL |
MagSize=# (50-300) | Size, in pixels of the magnifying glass. (See "Setting Preferences".) |
MagZoom=# (2-5) | Magnification factor of the magnifying glass. (See "Setting Preferences".) |
Menu=[yes|no] Menu=yes-File[,Selection] Menu=yes-Selection[,File] |
Enables or disables the context menu. Optionally allows the removal of the File and/or Selection menu option to provide security. IMPORTANT: Disabling the File or Selection menu options does not remove or disable the corresponding buttons (Save, Print, etc) on the toolbar. These must be removed from the toolbar separately. See the NOTE: To disable the Internet Explorer print functionality you must remove both the File menu option and the Print button. Removing only one or the other leaves the Internet Explorer print functionality enabled. |
MouseMode=[pan|zoom|textsel] |
Determines behavior of dragging the mouse from among the following actions:
|
NavPane=[outline|thumbnails|none], [top|bottom|left|right] |
Display and location of the navigation pane. Example:
|
Page= =[<ID>|<number>] | Sets which page to display, either by name (ID) or number (1 … number of pages) |
Password=<password> |
Combined with UserID, enables user to access secure (restricted-rights) DjVu files. Example:
(See "Opening Secure DjVu Files".) |
PostError=[yes|no] |
If true, then error messages are posted via dialog boxes. Otherwise they are only available via the Error event and Default: Yes |
Prefetch=[yes|no] |
Prefetching begins to gather data for the next page in a multipage document so that it will appear more quickly when user goes to that page. If true, prefetching is enabled. Default: Yes |
PrintGamma=# | Gamma correction setting used for printing. (See "Setting Preferences".) |
PrintHighQuality=[yes|no] | If true, then the image is sent to the printer at full resolution. Otherwise it is downsampled by a factor of 2). (See "Setting Preferences".) |
PrintMatchScreen=[yes|no] | If true, then DisplayGamma and PrintGamma are forced to be the same. Changing one will also change the other. (See "Setting Preferences".) |
Rotate=[0|90|180|270] | Specifies degrees to rotate counter-clockwise. |
ScrollBars=[yes|no] | Enables or disables the scrollbars that appear when the zoom level makes the image too big to fit in the display window. |
ShowPosition="<x>,<y>" |
Position of original image to be displayed. Position is given as a fraction between 0,0 (upper left) to (1,1) lower right. The plug-in will try to position this point as close as it can to the center using the current window size and zoom factor. Example:
|
SRC =<url> |
Specifies location and access method for the DjVu document. Examples:
|
Toolbar=[yes|no] Toolbar=[top|bottom] Toolbar=[autohide|fixed] Toolbar=[[+|-]<button>, ...] |
Allow you to customize the toolbar.
Examples:
NOTE: To disable the Internet Explorer print functionality you must remove both the File menu option and the Print button. Removing only one or the other leaves the Internet Explorer print functionality enabled. |
UserID=<userID> |
Combined with Example:
|
Valign=[top|center|bottom] | Specifies the vertical alignment of the image when the whole page fits inside of the display window |
Zoom=[<number>|one2one|width|page|stretch] |
Specifies initial zoom level as a (number)% of original size:
|