doc<N>
This parameter points to the URL of the parameters file that is associated with a document (but not the URL of the document itself). The parameters file specifies the document and the parameters that are used to display the document.
You can specify a relative location or an absolute URL for the parameters file.
When this parameter is used, extra buttons are made available so that the user can browse the document list.
filename = "myfile.tif "
printHeader = "My first document "
page1 = "page1.tif "
page2 = "page2.tif "
page3 = "page3.tif "
printHeader = "My second document "
filename =
"docs/2.tif".<param name="doc1" value="data:text/plain;base64,ZmlsZW5hbWUgPSAiZG9jcy8yLnRpZiI">
<param name="doc2" value="data:text/plain;base64,
ZmlsZW5hbWUgPSAiZG9jcy9odXNreS5qcGci"><param name="invert" value="true" />
<param name="doc1" value="docParamsA.txt" />
<param name="doc2" value="docParamsB.txt" />
These parameters initiate the viewer with the invert parameter set to true and configure the viewer to use docParamA.txt and docParamB.txt parameters files for its documents.
filename = "myfileA.tif "
invert = false
These parameters specify an image path and set the invert parameter to false
filename = "myfileB.tif"
When the viewer is started, the invert parameter is set to true as specified in the Mywebpage.htm file. However, the viewer opens the docParamsA.txt file almost immediately, which sets the invert flag to false. Therefore, myfileA.tif image is displayed as normal.
The docParamsB.txt parameters file does not specify the invert parameter. Therefore, the invert flag reverts to the value set in Mywebpage.htm file when the user clicks the Next Document button to open the docParamsB.txt image and the image is inverted.
You can only specify document-specific parameters in a parameters file. For example, the following parameters are valid: rotation, flip, zoom, pageLabel<N>, thumbLabel<N>, fileList, and page<N>. You cannot specify viewer-specific parameters such as the obfuscate parameter, button parameters, and menu configuration parameters.
If you specify a parameter in a document parameters file, it is best to set that parameter in all document parameters files rather than relying on the default parameter value for some documents.
Sample syntax
<param name="doc1" value="docParams1.txt" />
<param name="doc2" value="docParams2.txt " />
<param name="doc3" value="docParams3.txt " />
Default setting: N/A