import "ePadLSActiveX.idl";
Public Member Functions | |
| void | AboutBox () |
| SHORT | GetNumDevices (void) |
| SHORT | OpenConnection (SHORT nNumDevice, SHORT nLegacyMode) |
| SHORT | CloseConnection (void) |
| SHORT | connGetDataRateIndex (BYTE *index) |
| SHORT | connSetDataRateIndex (BYTE index) |
| SHORT | connSaveSettings (void) |
| SHORT | connResetDefaults (BYTE code) |
| SHORT | connSetEncryptionMode (BYTE mode) |
| SHORT | connGetEncryptionMode (BYTE *mode) |
| SHORT | connDrawLine (BYTE ScreenId, BYTE red, BYTE green, BYTE blue, BYTE alpha, BYTE width, SHORT xStart, SHORT yStart, SHORT xEnd, SHORT yEnd) |
| SHORT | connGetInkRegion (BYTE *bEnabled, BYTE *bOn, BYTE *bEnableType, BYTE *bTransform, SHORT *xStart, SHORT *yStart, SHORT *nWidth, SHORT *nHeight, BYTE *red, BYTE *green, BYTE *blue, BYTE *nPenWidth, SHORT *wTimeout, SHORT *wEnableTimeout) |
| SHORT | connSetInkRegion (BYTE bEnabled, BYTE bOn, BYTE bEnableType, BYTE bTransform, SHORT xStart, SHORT yStart, SHORT nWidth, SHORT nHeight, BYTE red, BYTE green, BYTE blue, BYTE alpha, BYTE nPenWidth, SHORT wTimeout) |
| SHORT | connCreateBitmap (BYTE bBitmapId, BSTR filePath) |
| SHORT | connShowBitmap (BYTE bBitmapId, BYTE bFlag) |
| BSTR | connGetSerialNumber (void) |
| LONG | connGetDataRangeMinX (void) |
| LONG | connGetDataRangeMinY (void) |
| LONG | connGetDataRangeMinZ (void) |
| LONG | connGetDataRangeMaxX (void) |
| LONG | connGetDataRangeMaxY (void) |
| LONG | connGetDataRangeMaxZ (void) |
| DOUBLE | connGetPhysicalX (void) |
| DOUBLE | connGetPhysicalY (void) |
| SHORT | connClrInkRegion () |
| SHORT | connCreateEmptyBitmap (BYTE bBitmapId, SHORT width, SHORT height, BYTE red, BYTE green, BYTE blue, BYTE alpha) |
| SHORT | connDeleteBitmap (BYTE bBitmapId) |
| BSTR | connGetDebugParam (BSTR pKey) |
| SHORT | connSetDebugParam (BSTR pKey, BSTR pValue) |
| SHORT | connSetTextWindow (SHORT xStart, SHORT yStart, SHORT nWidth, SHORT nHeight, BYTE BorderUnit, BYTE BorderSize) |
| SHORT | connShowTextWindow (BYTE bOnOff) |
| SHORT | connSendTextForTextWindow (BSTR bStrTextBuffer) |
| SHORT | connSendAffirmationText (BSTR textStrBuffer, BYTE horizon, BYTE vertical) |
| SHORT | connGetMode (BYTE *Mode) |
| SHORT | connResetPad (SHORT *retValue) |
| SHORT | connSetBitmapAsDefault (BYTE bBitmapId) |
| SHORT | connSendBitmapText (BYTE bBitmapId, BSTR bStrBuffer) |
| SHORT | connPositionBitmap (BYTE bBitmapId, SHORT xPos, SHORT yPos) |
| SHORT | connGetUserPref ([out] BYTE *pEncryptionMode) |
| SHORT | connSetUserPref ([in] BYTE EncryptionMode) |
| SHORT | connGetCharacteristics ([out] BYTE *pFeature1, BYTE *pFeature2, BYTE *pFeature3, BYTE *pFeature4, BYTE *pFeature5, BYTE *pFeature6) |
| SHORT | connIsPressureEnabled () |
Definition at line 22 of file ePadLSActiveX.idl.
|
|
Pop up About model dialog box to display ActiveX version number, name, copyright and etc. |
|
|
Close the active connection to a device, if it exists. Possible return value:
|
|
|
Clear the inking region (removes any ink trails from region). Possible return value:
|
|
||||||||||||
|
Create bitmap on the specified screen (bitmapid) with image data from file Currently only BMP and JPEG format images are supported by the device. The length of image data can not greater than 1MB. Paramters: See the parameters in IePadLS::connCreateBitmap Possible return value:
|
|
||||||||||||||||||||||||||||||||
|
Create an empty bitmap with the specified bBitmapId. The width and height must be indicated and are in pixels. Parameters: See the parameters in IePadLS::connCreateEmptyBitmap Possible return value:
|
|
|
Delete the specified bitmap from the ePad device. The bBitmapId field must be > 0. Parameters: See the parameters in IePadLS::connDeleteBitmap Possible return value:
|
|
||||||||||||||||||||||||||||||||||||||||||||
|
Draw a line on the specified screen id using the given color and width between starting point and end point. Paramters: See the parameters in IePadLS::connDrawLine Possible return value:
|
|
||||||||||||||||||||||||||||
|
Retrieve the characteristics of the device. Parameters: The pFeature1--pFeature6 are corresponing to the array elements of IePadLS::connGetCharacteristics parameter. Possible return value:
|
|
|
Return max value of pen data X field range.
|
|
|
Return max value of pen data Y field range.
|
|
|
Return max value of pen data Z(pressure) field range.
|
|
|
Return min value of pen data X field range.
|
|
|
Return min value of pen data Y field range.
|
|
|
Returns min value of pen data Z (pressure) field range.
|
|
|
Retrieve the device data report rate index from the ePad device. Parameters:
Possible return value:
|
|
|
Get provider-specific parameters for provider instance. See the description of the provider for specific value-pairs.
|
|
|
Get the data encryption mode from the device Paramters: See the parameters in IePadLS::connGetEncryptionMode Possible return value:
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Get the inking region settings from the device. Paramters: See the parameters in IePadLS::connGetInkingRegion Possible return value:
|
|
|
Query the operational mode of the ePad device. Parameters: See the parameters in IePadLS::connGetMode Possible return value:
|
|
|
Return the device writeable horizontal physical size in inches.
|
|
|
Return the device writeable vertival physical size in inches.
|
|
|
Return the serial # of the current opened device. Possible return value: The device serial number in GUID format.
|
|
|
Get the user-defined settings from the ePad device. As of the writing of this document, screen saver functions have not been implemented. Parameters: See IDL_USER_PREFERENCES::bEncryptionType Possible return value:
|
|
|
Check whether the pressure value is usefull or not. Return:
|
|
||||||||||||||||
|
Position the designated image at the desired LCD positon. Parameters: See parameters in IePadLS::connPositionBitmap Possible return value:
|
|
|
Reset the device's calibration and options to the powerup state. Paramters: See the parameters in IePadLS::connResetDefaults Possible return value:
|
|
|
Reset the device to READY status. Once reset, the ePad should be ready to accept HID reports and the encryption mode should be off. Parameters: See parameters in IePadLS::ResetPad Possible return value:
|
|
|
Save all current values for persistent settings as the default. Possible return value:
|
|
||||||||||||||||
|
Send the text to the previous defined inking region on the ePad device. Parameters: See the parameters in IePadLS::connSendAffirmationText Possible return value:
|
|
||||||||||||
|
Show the RichText string over the image. Parameters: See parameters in IePadLS::connSendBitmapText Possible return value:
|
|
|
Send the richtext text to the previously defined text window on the ePad device. Parameters: See the parameters in IePadLS::connSendTextForTextWindow Possible return value:
|
|
|
Set the bitmap to be the default background image. Parameters: See parameters in IePadLS::connSetBitmapAsDefault Possible return value:
|
|
|
Set the device data report rate index on the ePad device to a given value. Parameters:
Possible return value:
|
|
||||||||||||
|
Set provider-specific parameters for provider instance. See the description of the provider for specific value-pairs. This method can be called before openConnection() is issued. One of the functions frequently used is to suppress the configuration dialog. To do so, set pKey = "openConfig" and pValue = "0".
|
|
|
Set the data encryption mode on the device Paramters: See the parameters in IePadLS::connSetEncryption Possible return value:
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Set the inking region settings on the device. Note that once the ink region is enabled, the device is put in INKING mode and will subsequently respond to a restricted subset of commands. Once the signature capture is complete, one should re-issue this method in order to disable the ink region. Paramters: See the parameters in IePadLS::connSetInkingRegion Possible return value:
|
|
||||||||||||||||||||||||||||
|
Set the text window settings on the device. This identifies what will appear on the LCD display after the connShowTextWindow() call. If the text window is too small to display the text that is provided, then a vertical scroll-bar is automatically provided on the LCD display. This scroll-bar can be manipulated with the stylus in order to allow the viewer to review the entire complement of text which has been provided. Parameters: See the parameters in IePadLS::connSetTextWindow Possible return value:
|
|
|
Set the user-defined settings for the ePad device. As of the writing of this document, screen saver functions have not been implemented. The encryption setting will take effective in next device connection session. During the current connection session, user can call connGetEncryptionMode/connSetEncryptionMode to query or set the encryption mode. Parameters: See IDL_USER_PREFERENCES::bEncryptionType Possible return value:
|
|
||||||||||||
|
Set the previous created bitmap id to be displayed (bFlag = 1) or hide on the LCD. Paramters: See the parameters in IePadLS::connShowBitmap Possible return value:
|
|
|
Show or hide the text window. This command applies to the window previously set by the connSetTextWindow method. Parameters: See the parameters in IePadLS::connShowTextWindow Possible return value:
|
|
|
Return the # of attached ePadLS devices. Note that the index # is zero-based, thus if a single unit is reported it's index will be 0:
SHORT sNumDevices = pLS->GetNumDevices();
if ( sNumDevices>0 ) {
...
SHORT sResult = pLS->OpenConnection(0);
...
} // endif
|
|
||||||||||||
|
Open a connection to the device indexed by nNumDevice, if it exists. OpenConnectin can be opened with legacy mode when nLegacyMode set to 1, the IDL_OP_MODE to be INKING. If nLegacyMode set to 0, IDL_OP_MODE will set to READY mode. This case requires user application to use SetInkRegion to update the IDL_OP_MODE. Parameters:
Possible return value:
|
1.4.6-NO