ProScript .NET Documentation
ProScript .NET Documentation
ProScript
Screen Class
Screen Methods
AddRegion Method
GetNumber Method
GetRegionIndexes Method
GetReserved Method
GetResetTimeoutOnActivity Method
GetScreenNextList Method
GetTimeout Method
GetTimeoutNextScreen Method
RemoveRegion Method
SetNumber Method
SetRegions Method
SetResetTimeoutOnActivity Method
SetTimeout Method
SetTimeoutNextScreen Method
ToString Method

# Screen SetRegions Method

This method sets the indexes of the regions that will be included in this screen. The indexes (key) are paired with the screen (value) that should be switched to in the event that the region is activated (for instance if a button region is pressed). Use the DO_NOTHING_ON_NEXT constant to indicate nothing should happen. This method replaces the entire region list in the screen. Use addRegion() to add an individual region to the screen.

Namespace: ProScript
Assembly: proscript-csharp (in proscript-csharp.dll) Version: 1.6.39.0 (1.6.39.0)
Syntax
C#
VB
C++
F#
Copy

    public void SetRegions(
    	Dictionary<int, int> regions
    )

    Public Sub SetRegions (
    	regions As Dictionary(Of Integer, Integer)
    )

    public:
    void SetRegions(
    	Dictionary<int, int>^ regions
    )

    member SetRegions :
            regions : Dictionary<int, int> -> unit

#### Parameters

regions
  Type: System.Collections.Generic
  Dictionary
  Int32, Int32
  Regions with screen pairings to set.

See Also

#### Reference

Screen Class
ProScript Namespace

Copyright 2015 Scriptel Corporation. All Rights Reserved.