Support Fit layout page to objects

Version: 2022b

Type: Features

Category: Graphing

Subcategory: Graph Customization

Jira: ORG-24414

  • Format: Fit Page to Objects… menu is added for layout window. pfit2l dialog opens which is the same dialog when choosing Fit Page to Layer for graph window.

  • Labtalk Command

page -fit -m 1 -b 5 -u -d 1; 
-m mean margin control: 0 for tight, 1 for border 
-b mean border value as percentage of the page size
-u means undo supported.
-d means fit direction, 0: both directions (default), 1: vertical only, 2: horizontal only