ProScript .NET Documentation
ProScript .NET Documentation
ProScript
PenParameters Class
PenParameters Constructor
PenParameters Methods

# PenParameters Constructor

Initializes a new instance of the PenParameters 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 PenParameters(
    	int proximity,
    	int autoPenThreshold,
    	int autoTouchThreshold,
    	byte adcAverage,
    	byte coordinateAverage,
    	int offsetInterval,
    	byte debouncePreDown,
    	byte debouncePostDown,
    	byte debouncePreUp,
    	byte debouncePostUp,
    	bool errorCorrectionEnable,
    	byte reserved1,
    	bool offsetCorrectionEnable,
    	byte reserved2,
    	bool tipInverted,
    	byte reserved3,
    	int interruptRate
    )

    Public Sub New (
    	proximity As Integer,
    	autoPenThreshold As Integer,
    	autoTouchThreshold As Integer,
    	adcAverage As Byte,
    	coordinateAverage As Byte,
    	offsetInterval As Integer,
    	debouncePreDown As Byte,
    	debouncePostDown As Byte,
    	debouncePreUp As Byte,
    	debouncePostUp As Byte,
    	errorCorrectionEnable As Boolean,
    	reserved1 As Byte,
    	offsetCorrectionEnable As Boolean,
    	reserved2 As Byte,
    	tipInverted As Boolean,
    	reserved3 As Byte,
    	interruptRate As Integer
    )

    public:
    PenParameters(
    	int proximity,
    	int autoPenThreshold,
    	int autoTouchThreshold,
    	unsigned char adcAverage,
    	unsigned char coordinateAverage,
    	int offsetInterval,
    	unsigned char debouncePreDown,
    	unsigned char debouncePostDown,
    	unsigned char debouncePreUp,
    	unsigned char debouncePostUp,
    	bool errorCorrectionEnable,
    	unsigned char reserved1,
    	bool offsetCorrectionEnable,
    	unsigned char reserved2,
    	bool tipInverted,
    	unsigned char reserved3,
    	int interruptRate
    )

    new :
            proximity : int *
            autoPenThreshold : int *
            autoTouchThreshold : int *
            adcAverage : byte *
            coordinateAverage : byte *
            offsetInterval : int *
            debouncePreDown : byte *
            debouncePostDown : byte *
            debouncePreUp : byte *
            debouncePostUp : byte *
            errorCorrectionEnable : bool *
            reserved1 : byte *
            offsetCorrectionEnable : bool *
            reserved2 : byte *
            tipInverted : bool *
            reserved3 : byte *
            interruptRate : int -> PenParameters

#### Parameters

proximity
  Type: System
  Int32
  The proximity of the pen to the glass to use.
autoPenThreshold
  Type: System
  Int32
  auto pen threshold
autoTouchThreshold
  Type: System
  Int32
  auto touch threshold
adcAverage
  Type: System
  Byte
  adc average
coordinateAverage
  Type: System
  Byte
  coordinate average
offsetInterval
  Type: System
  Int32
  offset interval
debouncePreDown
  Type: System
  Byte
  debounce pre down
debouncePostDown
  Type: System
  Byte
  debounce post down
debouncePreUp
  Type: System
  Byte
  debounce pre up
debouncePostUp
  Type: System
  Byte
  debounce post up
errorCorrectionEnable
  Type: System
  Boolean
  whether or not error correction is enabled
reserved1
  Type: System
  Byte
  reserved for future use
offsetCorrectionEnable
  Type: System
  Boolean
  whether or not offset correction is enabled
reserved2
  Type: System
  Byte
  The parameter is not used.
tipInverted
  Type: System
  Boolean
  Whether or not the pen tip switch is inverted.
reserved3
  Type: System
  Byte
  The parameter is not used.
interruptRate
  Type: System
  Int32
  interrupt rate

See Also

#### Reference

PenParameters Class
ProScript Namespace

Copyright 2015 Scriptel Corporation. All Rights Reserved.