zoomToPlacementProps Method

Zoom the view to a show the tightest box around a given set of PlacementProps. Optionally, change view rotation.

zoomToPlacementProps(placementProps: PlacementProps[], options?: undefined): void

note any invalid placements are ignored (e.g., those having null range of nonsensical origin). If no valid placements are supplied, this function does nothing.

Parameter Type Description
placementProps PlacementProps[]  
options undefined options that control how the view change works and whether to change view rotation.

Defined in

Last Updated: 10 September, 2019