UnlockSupport method (ILEADRasterTwain)

Visual Basic Example

Visual C++ 5.0 Example

 

Syntax

UnlockSupport(short iType, BSTR pszKey)

Overview

 

Remarks

Unlocks support for an optional feature, such as or LEADTOOLS Document/Medical capabilities.

Note:

UnlockSupport can be replaced by entering the appropriate keys in ltocx.lic. Edit the ltocx.lic file and append at the end of a line, and on the same line, one or more pairs in the form |L_SUPPORT_xxx=key. The keys that can be specified are:

L_SUPPORT_BARCODES_1D
L_SUPPORT_BARCODES_1D_SILVER
L_SUPPORT_BARCODES_PDF_READ
L_SUPPORT_BARCODES_PDF_WRITE
L_SUPPORT_BARCODES_DATAMATRIX_READ
L_SUPPORT_BARCODES_DATAMATRIX_WRITE
L_SUPPORT_BARCODES_QR_READ
L_SUPPORT_BARCODES_QR_WRITE
L_SUPPORT_BITONAL
L_SUPPORT_CMW
L_SUPPORT_DICOM
L_SUPPORT_DOCUMENT
L_SUPPORT_EXTGRAY
L_SUPPORT_J2K
L_SUPPORT_MEDICAL
L_SUPPORT_MEDICAL_NET
L_SUPPORT_OCR
L_SUPPORT_VECTOR
L_SUPPORT_LTPRO

For example, if you wanted to unlock DOCUMENT and VECTOR support, you would include the following at the end of the first line:

|L_SUPPORT_DOCUMENT=dockey|L_SUPPORT_VECTOR=veckey

See Also

Elements

InitSession method, EndSession method, IsSupportLocked method