GUI_pagethumbs
Connection callback that is called when a file is loaded. Used to display page image thumbnails.
Additional Methods
- getHeight(): Returns the height of the canvas.
- hasmarkup(page): Returns true if the page has markup, false if not.
Callback Parameters
- thumbnails: Array of thumbnail objects.
JavaScript
Thumbnail {
thumbnail: canvas element holding the complete thumbnail,
Image: html image of the thumbnail,
canvasSource: canvas element holding the page image,
source: string containing URL to a thumbnail image,
name: string containing page name,
number: 0 indexed page number,
displaynum: 1 indexed page number,
draw: function used to draw the thumbnail,
}