LSettings::UnlockSupport

#include "ltwrappr.h"

static L_VOID LSettings::UnlockSupport(uType, pKey)

L_UINT uType;

/* 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 bar code 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 Selections.

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.

Note: Please note that the L_SUPPORT_VECTOR_DWG, L_SUPPORT_VECTOR_DWF, L_SUPPORT_VECTOR_DXF, L_SUPPORT_VECTOR_MISC and L_SUPPORT_VECTOR_ALL options for the uType parameter are now obsolete. If these constants are currently in your code, they will continue to work in LEADTOOLS 14.5. However, you should consider adding the LEADTOOLS Vector View Plug in or upgrading to the LEADTOOLS Vector Imaging Pro toolkit.

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.

See Also

Functions:

LSettings::~LSettings, LSettings::IsSupportLocked, Class Members

Example

L_VOID  TestFunction()
{
   LSettings LeadSettings;
   //Unlock the Document/Medical Capabilities
   //Note that this is a sample key, which will not work in your toolkit.
   LeadSettings.UnlockSupport(L_SUPPORT_DOCUMENT, TEXT("TestKey"));
}