Tips For Success

Having the best tools for document imaging is only half of the equation. Our Tech Tips are designed to provide you with valuable information to help succeed by achieving faster results with RasterMaster SDKs or FlexSnap viewers. New time-saving tips are added monthly - you can receive them through Imaging News or our Tech Tips RSS feed.

Removing FlexSnap Features Using HTML Parameters

This Tech Tip first appeared in Imaging News January 2006.

Snowbound’s viewing applet, FlexSnap, gives you the option of disabling or removing most features from the Graphical User Interface (GUI).

To remove a feature, insert the parameters described below into your HTML code, between the <applet> and </applet> tags:

Descriptions of Removable FlexSnap Parameters

Parameter

Description

removeAnnotationToolbarItem

Removes Annotation Toolbar buttons.

removeFromPanel

Removes the specified panel, such as thumbnails, the status bar, or the toolbar from the FlexSnap screen.

removeMenu

Removes an entire menu from the Graphical User Interface (GUI).

removeMenuBar

If true, the menu bar is not displayed.

removeMenuItem

Removes an individual menu item from the menu.

removeToolbarItem

Removes a button from the toolbar.

The parameters to remove features from FlexSnap accept values as comma separated lists. For example:

<param name="removeMenuItem" value="Edit#Copy,Edit#Cut">

 

Removing Menus

To remove an entire menu, insert the following parameter into your HTML code, between the <applet> and </applet> tags:

<param name="removeMenu" value="File">

This will remove the File menu.

<param name="removeMenu" value="File,Orient">

This will remove the File menu and the Orient menu.

To remove a specific menu item, insert the following parameter into your HTML code, between the <applet> and </applet> tags:

<param name="removeMenuItem" value="File#Print">

This code will remove the Print menu item from the File menu. The name for any menu item is the menu name listed on the user interface.

Removing the Menu Bar

To remove an entire menu bar, insert the following parameter into your HTML code, between the <applet> and </applet> tags:

<param name="removeMenuBar" value="true">

Removing Buttons

To remove a button from the toolbar, insert the following parameter into your HTML code, between the <applet> and </applet> tags:

<param name="removeToolbarItem" value="Zoom In">

This will remove the Zoom In button from the standard toolbar.

Removing Thumbnails

To remove thumbnails from the FlexSnap screen, insert the following parameter into your HTML code, between the <applet> and </applet> tags.

<param name="removeFromPanel" value="Thumbnails">

Removing Buttons from the Annotation Toolbar

To remove buttons from the Annotation Toolbar, use the following HTML code and button names:

<param name="removeAnnotationToolbarItem" value="Line">

This will remove the Line annotation button from the Annotation Toolbar.

<param name="removeAnnotationToolbarItem" value="Line,Arrow">

This will remove the Line and Arrow annotation buttons from the Annotation Toolbar.

Removing the Annotation Toolbar

To remove the Annotation Toolbar from FlexSnap, insert the following parameters into your HTML code, between the <applet> and </applet> tags:

<param name="removeFromPanel" value="Annotationtoolbar">

Removing Panels

To remove a panel, insert the following parameters into your HTML code, between the <applet> and </applet> tags:

<param name="removeFromPanel" value="Statusbar"> 

This will remove the Status Bar and the Thumbnail Panel from the FlexSnap window.