L_UnlockSupport

#include "l_bitmap.h"

L_VOID EXT_FUNCTION L_UnlockSupport(uType, pKey)

L_UINTuType;

/* optional feature to unlock */

L_TCHAR, L_FAR * pKey;

/* key to unlock the feature */

Unlocks support for an optional feature, such as LEADTOOLS Medical Imaging capabilities, or PDF support.

Parameter

Description

uType

The optional feature to check.

 

Value

Meaning

 

L_SUPPORT_ABC

Support for the ABC file formats, which use proprietary LEAD 1-bit compression. Available only in selected LEADTOOLS products. For a list of products, refer to Topic Selections.

 

L_SUPPORT_ABIC_READ

Support for reading the ABIC file format.

 

L_SUPPORT_ABIC_SAVE

Support for saving the ABIC file format.

 

L_SUPPORT_BARCODES_1D

Support for reading and writing Linear bar codes. This is available in the LEADTOOLS 1D Module.

 

L_SUPPORT_BARCODES_1D_SILVER

Support for reading and writing Linear bar codes silver module. This is available in the LEADTOOLS 1D Silver Module.

 

L_SUPPORT_BARCODES_PDF_READ

Support for reading PDF bar codes. This is available in the LEADTOOLS 2D PDF Module (read).

 

L_SUPPORT_BARCODES_PDF_WRITE

Support for writing PDF bar codes. This is available in the LEADTOOLS 2D PDF Module (write).

 

L_SUPPORT_BARCODES_DATAMATRIX_READ

Support for reading Data Matrix bar codes. This is available in the LEADTOOLS 2D Data Matrix Module (read).

 

L_SUPPORT_BARCODES_DATAMATRIX_WRITE

Support for writing Data Matrix bar codes. This is available in the LEADTOOLS 2D Data Matrix Module (write).

 

L_SUPPORT_BARCODES_QR_READ

Support for reading QR bar codes. This is available in the LEADTOOLS 2D QR Module (read).

 

L_SUPPORT_BARCODES_QR_WRITE

Support for writing QR bar codes. This is available in the LEADTOOLS 2D QR Module (write).

 

L_SUPPORT_BITONAL

Support for Scale to Gray and Favor Black processing.

 

L_SUPPORT_CMW

Support for the CMW file format, which uses Wavelet CMP compression.

 

L_SUPPORT_DICOM

DICOM file format support, but not the DICOM Communication support.

 

L_SUPPORT_DOCUMENT

LEADTOOLS Document features . A LEADTOOLS Document license is required

 

L_SUPPORT_EXTGRAY

Support for 12 bit grayscale, 16-bit grayscale, 48-bit color and 64-bit color image creation and manipulation.

 

L_SUPPORT_ICR

Support for the ICR Module within the OCR engine. This supports the recognition of handwritten text. Available only in selected LEADTOOLS products. For a list of products, refer to Topic Selections.

 

L_SUPPORT_J2K

Unlocks support for JPEG2000 images. The support needs to be unlocked to read and write both types of JPEG 2000 images (JPEG 2000 stream and JP2 files).

 

L_SUPPORT_JBIG2

Support for the JBIG2 file format.

 

L_SUPPORT_LTPRO

Support for advanced image processing functions only available in the Raster Pro and above toolkits.

 

L_SUPPORT_MEDICAL

Support for the capabilities unlocked by L_SUPPORT_DICOM and L_SUPPORT_EXTGRAY, plus all Medical features.

 

L_SUPPORT_MEDICAL_NET

Support for everything unlocked by L_SUPPORT_MEDICAL, plus support for the unsecure DICOM Network Communication for Message Exchange.

 

L_SUPPORT_OCR

Support for the OCR features. (Document/Medical).

 

L_SUPPORT_OCR_ASIAN

Support for the OCR engine to recognize Asian text. Available only in selected LEADTOOLS products. For a list of products, refer to Topic Selections.

 

L_SUPPORT_OCR_PDF_OUTPUT

Support for saving OCR results as a PDF file. This license is in addition to the cost of the OCR Plugin or Document Imaging Suite.

 

L_SUPPORT_OMR

Support for the OMR Module within the OCR engine. This supports the recognition of check boxes. Available only in selected LEADTOOLS products. For a list of products, refer to Topic Selections.

 

L_SUPPORT_PDF_ADVANCED

Support for advanced PDF save and compression features. This includes MRC and JBIG2 support.

 

L_SUPPORT_PDF_READ

Support for the PDF, PS and EPS file formats. Available only in the LEADTOOLS PDF Plug in. If this support is locked, the PDF, PS and EPS files will not be loaded or saved.

 

L_SUPPORT_PDF_SAVE

Support for saving raster images as a PDF file. Available only in selected LEADTOOLS products. For a list of products, refer to Topic Selections.

 

L_SUPPORT_VECTOR

Support for the Vector Features and Vector file formats. Available only in selected LEADTOOLS products. For a list of products, refer to Topic Selection.

pKey

The key to unlock the feature.

Returns

None

Comments

For information about LEADTOOLS Document/Medical capabilities, contact LEAD.

For information on unlocking Document/Medical, refer to Document/Medical Support and Licensing Agreements.

The code examples in this toolkit use the UNLOCKSUPPORT macro, which is defined in the LTLCK.H header file. You can specify keys in the header file to unlock capabilities in the example programs.

To unlock support for image processing features that are only available in LEADTOOLS Raster Imaging Pro (and above), use the following:

L_UnlockSupport(L_SUPPORT_LTPRO, TEXT("LtProKey"));

Required DLLs and Libraries

LTKRN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Windows 95 / 98 / Me, Windows 2000 / XP, Windows CE.

See Also

Functions:

L_IsSupportLocked, L_VersionInfo

Example

/* Unlock PDF support.
Note that this is a sample key, which will not work in your toolkit. */
L_UnlockSupport
(L_SUPPORT_PDF, TEXT("TestKey"));

/* Unlock  DOCUMENT support. Document toolkit required.
Note that "Document_key" must be obtained from LEAD. */
L_UnlockSupport
(L_SUPPORT_DOCUMENT, TEXT("Document_key"));