Optional ReadonlyannotationThe bounding box of the annotation in which the result was found. This property is only available when the result is an annotation.
ReadonlyisBoolean to indicate whether the matching search result is part of an annotation.
ReadonlylengthLength of the search term in the preview text.
ReadonlylocationLocation of the search term in the preview text.
ReadonlypageThe page where the result was found.
ReadonlypreviewThe text surrounding the search term that can be used to list a preview.
ReadonlyrectsAll rects on the page that should be used to highlight the text.
Returns a new instance of this Record type with all values set to their default values.
Returns a new instance of this Record type with the value for the specific key set to its default value.
Returns the value associated with the provided key, which may be the default value defined when creating the Record factory function.
If the requested key is not defined by this Record type, then notSetValue will be returned if provided. Note that this scenario would produce an error when using Flow or TypeScript.
OptionalnotSetValue: anyDeeply converts this Record to equivalent native JavaScript Object.
Note: This method may not be overridden. Objects with custom serialization to plain JS may override toJSON() instead.
OptionalannotationRect?: anyThe bounding box of the annotation in which the result was found. This property is only available when the result is an annotation.
Boolean to indicate whether the matching search result is part of an annotation.
Length of the search term in the preview text.
Location of the search term in the preview text.
The page where the result was found.
The text surrounding the search term that can be used to list a preview.
All rects on the page that should be used to highlight the text.
Shallowly converts this Record to equivalent native JavaScript Object.
OptionalannotationRect?: null | NutrientViewer.Geometry.RectThe bounding box of the annotation in which the result was found. This property is only available when the result is an annotation.
Boolean to indicate whether the matching search result is part of an annotation.
Length of the search term in the preview text.
Location of the search term in the preview text.
The page where the result was found.
The text surrounding the search term that can be used to list a preview.
All rects on the page that should be used to highlight the text.
Shallowly converts this Record to equivalent JavaScript Object.
OptionalannotationRect?: null | NutrientViewer.Geometry.RectThe bounding box of the annotation in which the result was found. This property is only available when the result is an annotation.
Boolean to indicate whether the matching search result is part of an annotation.
Length of the search term in the preview text.
Location of the search term in the preview text.
The page where the result was found.
The text surrounding the search term that can be used to list a preview.
All rects on the page that should be used to highlight the text.
A match when searching the PDF.
You can retrieve search results by using Instance#search