-
Home
-
API
-
Broadside.Viewer
-
AccessibilityBridge
-
Methods
-
TryGetBounds(AccessibleNode, out LayoutRectangle)
TryGetBounds(AccessibleNode, out LayoutRectangle) Method
Definition
Returns a node's bounds in viewport pixels for the last Update(PageLayout, in Viewport).
public bool TryGetBounds(AccessibleNode node, scoped out LayoutRectangle bounds)
Parameters
- bounds
- LayoutRectangle
The bounds, from the viewport's top-left corner in device pixels.
Returns
- Boolean
- False when the bridge has no layout yet or the node has no bounds (the document, content with no geometry).