ProScript .NET Documentation
ProScript .NET Documentation
ProScript
RegionText Class
RegionText Constructor
RegionText Constructor
RegionText Constructor (Byte, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, UInt32, UInt16, UInt16, UInt16, UInt16, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Int32, Int32, ResourceInfo.Justification, ResourceInfo.Justification, Int32)

# RegionText Constructor (Byte, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, UInt32, UInt16, UInt16, UInt16, UInt16, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Int32, Int32, ResourceInfo Justification, ResourceInfo Justification, Int32)

Initializes a new instance of the RegionText class.

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 RegionText(
    	byte number,
    	bool acceptTouch,
    	bool decode,
    	bool visible,
    	bool inUse,
    	bool hasFrame,
    	bool outputToHost,
    	bool reserved1,
    	uint reserved2,
    	ushort x1,
    	ushort x2,
    	ushort y1,
    	ushort y2,
    	byte foreAlpha,
    	byte foreRed,
    	byte foreGreen,
    	byte foreBlue,
    	byte backAlpha,
    	byte backRed,
    	byte backGreen,
    	byte backBlue,
    	int resourceNumber,
    	int fontNumber,
    	ResourceInfoJustification horizontalJustification,
    	ResourceInfoJustification verticalJustification,
    	int textReserved
    )

    Public Sub New (
    	number As Byte,
    	acceptTouch As Boolean,
    	decode As Boolean,
    	visible As Boolean,
    	inUse As Boolean,
    	hasFrame As Boolean,
    	outputToHost As Boolean,
    	reserved1 As Boolean,
    	reserved2 As UInteger,
    	x1 As UShort,
    	x2 As UShort,
    	y1 As UShort,
    	y2 As UShort,
    	foreAlpha As Byte,
    	foreRed As Byte,
    	foreGreen As Byte,
    	foreBlue As Byte,
    	backAlpha As Byte,
    	backRed As Byte,
    	backGreen As Byte,
    	backBlue As Byte,
    	resourceNumber As Integer,
    	fontNumber As Integer,
    	horizontalJustification As ResourceInfoJustification,
    	verticalJustification As ResourceInfoJustification,
    	textReserved As Integer
    )

    public:
    RegionText(
    	unsigned char number,
    	bool acceptTouch,
    	bool decode,
    	bool visible,
    	bool inUse,
    	bool hasFrame,
    	bool outputToHost,
    	bool reserved1,
    	unsigned int reserved2,
    	unsigned short x1,
    	unsigned short x2,
    	unsigned short y1,
    	unsigned short y2,
    	unsigned char foreAlpha,
    	unsigned char foreRed,
    	unsigned char foreGreen,
    	unsigned char foreBlue,
    	unsigned char backAlpha,
    	unsigned char backRed,
    	unsigned char backGreen,
    	unsigned char backBlue,
    	int resourceNumber,
    	int fontNumber,
    	ResourceInfoJustification horizontalJustification,
    	ResourceInfoJustification verticalJustification,
    	int textReserved
    )

    new :
            number : byte *
            acceptTouch : bool *
            decode : bool *
            visible : bool *
            inUse : bool *
            hasFrame : bool *
            outputToHost : bool *
            reserved1 : bool *
            reserved2 : uint32 *
            x1 : uint16 *
            x2 : uint16 *
            y1 : uint16 *
            y2 : uint16 *
            foreAlpha : byte *
            foreRed : byte *
            foreGreen : byte *
            foreBlue : byte *
            backAlpha : byte *
            backRed : byte *
            backGreen : byte *
            backBlue : byte *
            resourceNumber : int *
            fontNumber : int *
            horizontalJustification : ResourceInfoJustification *
            verticalJustification : ResourceInfoJustification *
            textReserved : int -> RegionText

#### Parameters

number
  Type: System
  Byte
  the region number
acceptTouch
  Type: System
  Boolean
  whether or not this region accepts touch
decode
  Type: System
  Boolean
  whether or not this region generates coordinate events
visible
  Type: System
  Boolean
  whether or not this region is visible
inUse
  Type: System
  Boolean
  Whether or not this region is currently in use.
hasFrame
  Type: System
  Boolean
  whether or not this region has a box around it
outputToHost
  Type: System
  Boolean
  Whether or not this region will output information to the host
reserved1
  Type: System
  Boolean
  The parameter is not used.
reserved2
  Type: System
  UInt32
  The parameter is not used.
x1
  Type: System
  UInt16
  left most edge
x2
  Type: System
  UInt16
  right most edge
y1
  Type: System
  UInt16
  top most edge
y2
  Type: System
  UInt16
  bottom most edge
foreAlpha
  Type: System
  Byte
  foreground alpha value
foreRed
  Type: System
  Byte
  foreground red value
foreGreen
  Type: System
  Byte
  foreground green value
foreBlue
  Type: System
  Byte
  foreground blue value
backAlpha
  Type: System
  Byte
  background alpha value
backRed
  Type: System
  Byte
  background red value
backGreen
  Type: System
  Byte
  background green value
backBlue
  Type: System
  Byte
  background blue value
resourceNumber
  Type: System
  Int32
  Resource number displayed by this region
fontNumber
  Type: System
  Int32
  Font used to write text
horizontalJustification
  Type: ProScript
  ResourceInfo
  Justification
  Horizontal justification of the graphic in the region
verticalJustification
  Type: ProScript
  ResourceInfo
  Justification
  Vertical justification of the graphic in the region
textReserved
  Type: System
  Int32
  This parameter is not used.

See Also

#### Reference

RegionText Class
RegionText Overload
ProScript Namespace

Copyright 2015 Scriptel Corporation. All Rights Reserved.