Toolbar for PdfViewer.

Namespace:  TallComponents.Web.Pdf
Assembly:  TallComponents.Web.PdfViewer (in TallComponents.Web.PdfViewer.dll) Version: 1.0.6.5

Syntax

C#
public class PdfViewerToolbar : ScriptControl
Visual Basic (Declaration)
Public Class PdfViewerToolbar _
	Inherits ScriptControl
Visual C++
public ref class PdfViewerToolbar : public ScriptControl

Remarks

PdfViewerToolbar is an AJAX enabled control that can interact with a PdfViewer. It provides feedback about the current page, the total number of pages and status of the viewer and allows users to browse from one page to the next, switch cursor mode (pan, zoom-in, zoom-out) and select fixed zoom factors or choose dynamic zoom settings (fit to width, fit to page and 1:1).

The toolbar can be customized to a certain extent. If you need a radically different look or behaviour, please consider implementing a custom toolbar. The developer guide for this product provides more information on how to do this.

The toolbar may be customized by providing custom images for the buttons, the state overlays and the toolbar background. All toolbar images are assumed to be 24x24 pixels transparent images (both gif and png images are suitable). The default spacer image is 8 pixels wide and 24 pixels high. The toolbar background should be at least 24 pixels high. This image will be placed at the top left of the toolbar area and repeated horizontally to fill the entire width of the toolbar, any overflow will be cropped.

Button state overlays can also be customized. There are four button states; disabled, normal, hover and selected. The disabled state is created using css opacity and cannot be customized. The hover and selected states may be customized through the [M:SelectedButtonImageUrl] and [M:HoverButtonImageUrl] properties. These button states are created by inserting an image below the toolbar button image.

Inheritance Hierarchy

System..::.Object
  System.Web.UI..::.Control
    System.Web.UI.WebControls..::.WebControl
      System.Web.UI..::.ScriptControl
        TallComponents.Web.Pdf..::.PdfViewerToolbar

See Also