Click or drag to resize

PenParameters Constructor

Initializes a new instance of the PenParameters class.

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
)

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