PenParameters Constructor |
Namespace:
ProScript
Assembly:
proscript-csharp (in proscript-csharp.dll) Version: 1.2.79.0 (1.2.79.0)
Syntax 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: SystemInt32
The proximity of the pen to the glass to use. - autoPenThreshold
- Type: SystemInt32
auto pen threshold - autoTouchThreshold
- Type: SystemInt32
auto touch threshold - adcAverage
- Type: SystemByte
adc average - coordinateAverage
- Type: SystemByte
coordinate average - offsetInterval
- Type: SystemInt32
offset interval - debouncePreDown
- Type: SystemByte
debounce pre down - debouncePostDown
- Type: SystemByte
debounce post down - debouncePreUp
- Type: SystemByte
debounce pre up - debouncePostUp
- Type: SystemByte
debounce post up - errorCorrectionEnable
- Type: SystemBoolean
whether or not error correction is enabled - reserved1
- Type: SystemByte
reserved for future use - offsetCorrectionEnable
- Type: SystemBoolean
whether or not offset correction is enabled - reserved2
- Type: SystemByte
The parameter is not used. - tipInverted
- Type: SystemBoolean
Whether or not the pen tip switch is inverted. - reserved3
- Type: SystemByte
The parameter is not used. - interruptRate
- Type: SystemInt32
interrupt rate
See Also