ProScript .NET Documentation
ProScript .NET Documentation
ProScript
CalibrationData Class
CalibrationData Constructor
CalibrationData Methods

# CalibrationData Class

This class represents calibration parameters of a ScripTouch device. It is used for internal Scriptel engineering and development as well as to support the desire to save calibration data and restore the same calibration data back at a later time. This can be accomplished through getJSONCalibrationBlob() and the String constructor respectively.
Inheritance Hierarchy
System
Object
ProScript
CalibrationData

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 sealed class CalibrationData

    Public NotInheritable Class CalibrationData

    public ref class CalibrationData sealed

    [<SealedAttribute>]
    type CalibrationData =  class end

The CalibrationData type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| CalibrationData(String) | Initializes a new instance of the CalibrationData class. Given a json string created by getJSONCalibrationBlob() this will create a clone of the original object.
| CalibrationData(CalibrationData) | Copy constructor
| CalibrationData(Int16, Boolean, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32) | Initializes a new instance of the CalibrationData class.

Top
Methods

| Name | Description
--- | --- | ---
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| GetCalibrationType | Gets the calibration type, not currently used.
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.)
| GetHostMultiplierScale | Gets the host multiplier scale.
| GetHostXMultiplierScaled | Gets the host x multiplier scaled.
| GetHostXOffset | Gets the host X offset.
| GetHostYMultiplierScaled | Gets the host Y multiplier scaled.
| GetHostYOffset | Gets the host Y offset.
| GetJSONCalibrationBlob | Gets a json representation of the data in this object. Can be used with this class's String constructor to create a clone.
| GetLocalHeightCalibrated | Gets the local height calibrated.
| GetLocalMultiplierScale | Gets the local multiplier scale.
| GetLocalWidthCalibrated | Gets the local width calibrated.
| GetLocalXMultiplierScaled | Gets the local x multiplier scaled.
| GetLocalXOffset | Gets the local x offset.
| GetLocalYMultiplierScaled | Gets the local y multiplier scaled.
| GetLocalYOffset | Gets the local y offset.
| GetRotationCOSScaled | Gets the scaled cos rotation.
| GetRotationScale | Gets the rotation scale.
| GetRotationSINScaled | Gets the scaled sin rotation.
| GetType | Gets the type of the current instance. (Inherited from Object.)
| IsCalibrated | Gets whether or not the device is currently calibrated.
| SetCalibrationType | Sets the calibration type, not currently used.
| SetHostMultiplierScale | Sets the host multiplier scale.
| SetHostXMultiplierScaled | Sets the host x multiplier scaled.
| SetHostXOffset | Sets the host X offset.
| SetHostYMultiplierScaled | Sets the host Y multiplier scaled.
| SetHostYOffset | Sets the host Y offset.
| SetLocalHeightCalibrated | Sets the local height calibrated.
| SetLocalMultiplierScale | Sets the local multiplier scale.
| SetLocalWidthCalibrated | Sets the local width calibrated.
| SetLocalXMultiplierScaled | Sets the local x multiplier scaled.
| SetLocalXOffset | Sets the local x offset.
| SetLocalYMultiplierScaled | Sets the local y multiplier scaled.
| SetLocalYOffset | Sets the local y offset.
| SetRotationCOSScaled | Sets the scaled cos rotation.
| SetRotationScale | Sets the rotation scale.
| SetRotationSINScaled | Sets the scaled sin rotation.
| ToString | Prints this object as a human readable string. (Overrides Object ToString .)

Top
See Also

#### Reference

ProScript Namespace

Copyright 2015 Scriptel Corporation. All Rights Reserved.