You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Version 7.7.0 - August 26, 2025
- **Improved:** Updated PDF.js library to 5.4.54 for stability and performance.
- **Fixed:** Avoid ```The `container` must be absolutely positioned.``` error in revisited Viewer pages on iOS Safari.
- **Improved:** Scrollbar colors are beautified and made consistent for all themes.
- **Fixed:** Setting a specific theme like "classic-light" or "classic-dark" was no longer overriding user OS preference.
- **Improved:** Stability and performance of Portable formats.
- **Improved:** For text watermarks, if the text has any CJK characters (Chinese, Japanese, Korean) and no font is specified
then by default use a CJK font instead of Helvetica font, so that the text watermark is displayed correctly, out of the box.
- **Improved:** When using `DocumentViewerMatchOptions.MatchAnyWord`, now the quotation marks can be used to specify phrases
inside a query that is set via `DocumentViewerSearchOptions.Term`.
For example;
- `red "four wheels" petrol` will match `red` or `four wheels` or `petrol` or `red four wheels petrol`
- `red ""four wheels"" petrol` will match `red` or `"four wheels"` or `petrol` or `red "four wheels" petrol`
```c#
documentViewer.SearchOptions.Term = "red "four wheels" petrol";
documentViewer.SearchOptions.MatchOptions = MatchOptions.MatchAnyWord;
//If you have an array of phrases, you can surround them with quotation marks
//and then join them with spaces to form a query:
var phrases = new[] { "red", "four wheels", "petrol" };
var query = string.Join(" ", phrases.Select(p => $"\"{p}\""));
documentViewer.SearchOptions.Term = query;
documentViewer.SearchOptions.MatchOptions = MatchOptions.MatchAnyWord;
```
Note that two consecutive quotation marks `""` can be used to escape, i.e. to search for a quotation mark literally as `"`.
The same feature can also be used in the Viewer's Find dialog.
0 commit comments