ProScript .NET Documentation
ProScript .NET Documentation
ProScript
Region Class
Region Methods

# Region Class

This class represents a region. A region is a box shaped object stored in the memory of a ScripTouch device that can take several forms such as lines, buttons, and containers.
Inheritance Hierarchy
System
Object
ProScript
Region
More...

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 abstract class Region

    Public MustInherit Class Region

    public ref class Region abstract

    [<AbstractClassAttribute>]
    type Region =  class end

The Region type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| AcceptsTouch | Gets whether or not this region accepts touch.
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| GetColorBackground | Gets the background color.
| GetColorForeground | Gets the foreground color.
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.)
| GetNumber | Gets the region number.
| GetOutputToHost | Gets whether this region will output information to the host or not.
| GetReserved2 | The parameter is not used.
| GetType | Gets the type of the current instance. (Inherited from Object.)
| GetX1 | Gets the left most edge.
| GetX2 | Gets the right most edge.
| GetY1 | Gets the top most edge.
| GetY2 | Gets the bottom most edge.
| HasFrame | Gets whether or not this region has a box around it.
| IsDecode | Gets whether or not this region will generate coordinate events.
| IsInUse | Gets whether or not this region is in use.
| IsReserved1 | The parameter is not used.
| IsVisible | Gets whether or not this region is visible.
| SetAcceptTouch | Sets whether or not this region accepts touch.
| SetColorBackground | Sets the background color
| SetColorForeground | Sets the foreground color
| SetDecode | Sets whether or not this region will generate coordinate events.
| SetHasFrame | Sets whether or not this region has a box around it.
| SetNumber | Sets the region number.
| SetOutputToHost | Sets whether this region will output information to the host or not.
| SetReserved1 | The parameter is not used.
| SetReserved2 | The parameter is not used.
| SetVisible | Sets whether or not this region is visible.
| SetX1 | Sets the left most edge.
| SetX2 | Sets the right most edge.
| SetY1 | Sets the top most edge.
| SetY2 | Sets the bottom most edge.
| ToString | Converts this object into a human readable string. (Overrides Object ToString .)

Top
See Also

#### Reference

ProScript Namespace
Inheritance Hierarchy
System
Object
ProScript
Region
ProScript
RegionButton
ProScript
RegionContainer
ProScript
RegionGraphic
ProScript
RegionLine
ProScript
RegionNull
ProScript
RegionText

Copyright 2015 Scriptel Corporation. All Rights Reserved.