View Component 25.3
View Component Help

# DefaultOverlayStartTag

The default value to use for the StartTag parameter in the View or GetLink action when highlighting PDF2-rendered documents, where the View component renders the PDF as a transparent text layer overlaid on an image of the page.

NOTE: You can enable the PDF2 reader by editing the `formats_e.ini` file to set `230=pdf2`.

By default, View uses a translucent background color, so that the underlying text in the image is visible, and highlighted. Set `DefaultOverlayStartTag` and DefaultOverlayEndTag to modify this highlighting behavior.

To highlight the underlying image while keeping the text itself invisible, you can set `DefaultOverlayStartTag` to a translucent background color (by using eight-digit hex, or the rgba or hsla functions with partial opacity). To highlight with text effects, set a solid color without transparency for both the text and the background, to make the text layer visible while obscuring the underlying image.

You can override the value of `DefaultOverlayStartTag` by setting StartTag in the View or GetLink action.

Type: | String
Default: | `<a style="BACKGROUND-COLOR: #ffff0080">`
Required: | No
Configuration Section: | Viewing
Example: | `DefaultOverlayStartTag=<a style="BACKGROUND-COLOR: #ffffff" COLOR="red">`
See Also: | DefaultOverlayEndTag View action StartTag parameter

Copyright 2025 Open Text
Version 25.3 | Last updated July 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery View Component 25.3

Topic Title: DefaultOverlayStartTag