# EditViDiLayoutModelRegion

For use with the ViDiCheck or a ViDi function containing a Blue Locate tool. This function inserts an interactive graphical region control for a ViDi Layout Model region into the spreadsheet.

When the control is clicked, the display switches to Interactive Graphics Mode where the size, position and rotation of the region can be adjusted. The control is intended to be added to a WebPage and then used while online, allowing operators to adjust a region of a Layout Model.

Note:

- To access the Property Sheet for an EditViDiLayoutModelRegion control, right-click the control and select Edit Function.
- This function only affects the runtime implementation of the Layout Model; changes made while online will not persist. To have the changes persist, the function containing the Layout Model must be modified in the ViDi Editor and its workspace saved. Then, when the job is placed back online, the EditViDiLayoutModelRegion will reflect the changes that were saved in the workspace.

## EditViDiLayoutModelRegion Inputs

Parameter | Description
--- | ---
ViDiCheck | Specifies a reference to a ViDiCheck data structure.
Tool Name | The name of the ViDiCheck tool in the ViDi Editor that is being referenced.
Layout Model Name | The name of the Layout Model within the referenced ViDiCheck tool.
Layout Model Region Name | The name of the region within the referenced Layout Model that can be modified.
Show | Specifies the display mode for the EditViDiLayoutModelRegion graphics overlay on the image.
0 = hide all | The region will be hidden, except when the cell containing the EditViDiLayoutModelRegion function is highlighted in the spreadsheet.
2 = input graphics only | The region will be displayed at all times.

## EditViDiLayoutModelRegion Outputs

Results | An EditViDiLayoutModelRegion control.