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. 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: 08 January, 2020