The bounding rectangle that most closely contains all rectangles in the rects list.
Coordinates are in application viewport coordinate space.
In PDF content, this rectangle can cover more than the rects in rects, and it does not always contain them.
If the rects list is empty, then this property is null.
This bound is not clipped, so it may cover content hidden by a clipping ancestor.
ExperimentalclippingAlways empty. IVisiblePage.fetchContentRects does not report clipping, so every clippingRectIndex in
rects is null, even when the content is clipped. For clipping elements, use
IVisibleContentAreaRectsResult.clippingRects.
This API is experimental and might be subject to changes in future releases.
The content location used to generate this result object. This is the intersection between the ContentLocation passed to IVisiblePage.fetchContentRects and the VisiblePage's range ContentLocation.
If no contentLocation was passed to IVisiblePage.fetchContentRects,
then this property will be the range content location for the page.
A list of objects containing rectangles and content locations for line boxes and replaced elements such as <img> elements.
Get this instance as a JSON serializable object.
The rects of the content in
contentLocationon one visible page: one entry per line box or element, each paired with the content location it was generated from.In EPUB content, the rects cover lines of text and
img,videoandpictureelements. No other element has a rect of its own. In PDF content, only selectable text has rects. A page without selectable text, such as a scanned page, has none.rectsis in document order andboundingClientRectspans them all. In PDF content,rectsis not always in document order andboundingClientRectdoes not always contain the rects. PDF rects can also include text outsidecontentLocationand leave out text inside it.Clipping is not computed. Each rect's
clippedStateisUNKNOWN, and itsclippedClientRectequals itsclientRect, even for content that a publication element clips.All coordinates are in application viewport coordinate space and describe one moment: a later navigation, scroll or ReaderView transform makes them out of date.