LSettings::IsSupportLocked

#include "ltwrappr.h"

static L_BOOL LSettings::IsSupportLocked(uType)

L_UINT uType;

/* optional feature to check */

Indicates whether support is locked for an optional feature, such as LEADTOOLS Document/Medical capabilities.

Parameter

Description

uType

The toolkit or add-on feature to check. Possible values are as follows:

 

Value

Meaning

 

L_SUPPORT_ABC

Support for the ABC file formats, which use proprietary LEAD 1-bit compression. Available in selected LEADTOOLS products.

 

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_2D

Support for all 2D Barcode types (Read and Write).

 

L_SUPPORT_BARCODES_2D_READ

No longer supported.  Use L_SUPPORT_BARCODES_2D.

 

L_SUPPORT_BARCODES_2D_WRITE

No longer supported.  Use L_SUPPORT_BARCODES_2D.

 

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_CLOUD

Support for LEADTOOLS Cloud SDK.

 

L_SUPPORT_CMW

Support for reading and writing CMW images, which use LEAD Wavelet CMP compression.

 

L_SUPPORT_DICOM

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

 

L_SUPPORT_DICOM_COMMUNICATION

Support for DICOM Communication.

 

L_SUPPORT_DOCUMENT

Support for LEADTOOLS Document features . A LEADTOOLS Document license is required

 

L_SUPPORT_DOCUMENT_WRITERS

Support for LEADTOOLS Document Writer functionality.

 

L_SUPPORT_DOCUMENT_WRITERS_PDF

Support for PDF output when using the LEADTOOLS Document Writer functionality.

 

L_SUPPORT_EXTGRAY

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

 

L_SUPPORT_FORMS

Support for Forms Recognition and Processing functionality. Available in selected LEADTOOLS products.

 

L_SUPPORT_ICR_PLUS

Support for the ICR Module within the OCR Plus engine. This supports the recognition of handwritten text. Available as an add-on to LEADTOOLS Document/Medical toolkits.

 

L_SUPPORT_ICR_PROFESSIONAL

Support for the ICR Module within the OCR Plus engine. This supports the recognition of handwritten text. Available as an add-on to LEADTOOLS Document/Medical toolkits.

 

L_SUPPORT_J2K

Support for reading and writing JPEG2000 images.

 

L_SUPPORT_JBIG2

Support for the JBIG2 file format.

 

L_SUPPORT_JPIP

Support for JPIP Client and Server functionality. Available in selected LEADTOOLS products.

 

L_SUPPORT_LEAD_OMR

Support for the LEADTOOLS OMR Module. This supports the recognition of check boxes. Available as an add-on to LEADTOOLS Document/Medical toolkits.

 

L_SUPPORT_LTPRO

No longer needed.

 

L_SUPPORT_MEDIA_WRITER

Support for Data DVD Writing. Available in selected LEADTOOLS products.

 

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_NITF

Support for the NITF file format. Available in selected LEADTOOLS products.

 

L_SUPPORT_OCR_ADVANTAGE

Support for the OCR features provided by the OCR Advantage engine. OCR add-on to Document and MedicalDocument and Medical Imaging toolkits.

 

L_SUPPORT_OCR_ADVANTAGE_PDF_LEAD_OUTPUT

Support for saving OCR results from the OCR Advantage engine as a PDF file using LEAD's proprietary PDF output. This license is in addition to the cost of the OCR Plugin or Document Imaging.

 

L_SUPPORT_OCR_ADVANTAGE_PDF_OUTPUT

Support for saving OCR results from the OCR Advantage engine as a PDF file.

 

L_SUPPORT_OCR_ARABIC

Support for Arabic OCR.

 

L_SUPPORT_OCR_ARABIC_PDF_LEAD_OUTPUT

Support for saving OCR results from the OCR Arabic engine as a PDF file using LEAD's proprietary PDF output. This license is in addition to the cost of the OCR Plugin or Document Imaging.

 

L_SUPPORT_OCR_ARABIC_PDF_OUTPUT

Support for saving OCR results from the OCR Arabic engine as a PDF file.

 

L_SUPPORT_OCR_PLUS

Support for the OCR features provided by the OCR Plus engine. OCR add-on to LEADTOOLS Document/Medical toolkits.

 

L_SUPPORT_OCR_PLUS_PDF_LEAD_OUTPUT

Support for saving OCR results from the OCR Plus engine as a PDF file using LEAD's proprietary PDF output. This license is in addition to the cost of the OCR Plugin or Document Imaging.

 

L_SUPPORT_OCR_PROFESSIONAL

Support for the OCR features provided by the OCR Professional engine. OCR add-on to Document and Medical Imaging toolkits.

 

L_SUPPORT_OCR_PROFESSIONAL_ASIAN

Support for the OCR Professional engine to recognize Asian text. available in selected LEADTOOLS products.

 

L_SUPPORT_OCR_PROFESSIONAL_PDF_LEAD_OUTPUT

Support for saving OCR results from the OCR Professional engine as a PDF file using LEAD's proprietary PDF output. This license is in addition to the cost of the OCR Plugin or Document Imaging.

 

L_SUPPORT_PDF_ADVANCED

Support for advanced PDF features.

 

L_SUPPORT_PDF_READ

Support for the PDF, PS and EPS file formats. If this support is locked, the PDF, PS and EPS files will not be loaded or saved. Available as an add-on to LEADTOOLS Document/Medical toolkits.

 

L_SUPPORT_PDF_SAVE

Support for saving raster images as a PDF file. Includes support for MRC PDF compression and JBIG2 support. Available as an add-on to LEADTOOLS Document/Medical toolkits.

 

L_SUPPORT_RASTER_PDF_READ

Support for reading raster images as a PDF file.

 

L_SUPPORT_RASTER_PDF_SAVE

Support for saving raster images as a PDF file.

 

L_SUPPORT_PRINT_DRIVER

Support for LEADTOOLS Printer Driver functionality.

 

L_SUPPORT_PRINT_DRIVER_SERVER

Support for LEADTOOLS Printer Driver functionality on Windows Server.

 

L_SUPPORT_PRINT_DRIVER_NETWORK

Support for LEADTOOLS Network Printer Driver functionality.

 

L_SUPPORT_VECTOR

Support for the Vector Features and Vector file formats. Available in Vector, Document, and Medical toolkits.

 

L_SUPPORT_MEDICAL_3D

Support for the Medical 3D feature.

 

L_SUPPORT_MOBILE

Support for the Mobile Imaging feature.

Returns

TRUE

The optional feature is locked.

FALSE

The optional feature is available in your toolkit.

Comments

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

To set a runtime license and unlock special features from a disk file, use the LSettings::SetLicenseFile function.

To set the runtime license from a memory buffer, use the LSettings::SetLicenseBuffer function.

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

Win32, x64.

See Also

Functions:

LSettings::SetLicenseBuffer, Class Members, LSettings::SetLicenseFile

Topics:

Support Functions: Version and License Information

 

Setting a Runtime License

Example

L_INT LSettings__IsSupportLockedExample()
{
   LSettings LeadSettings;
   if (LeadSettings.IsSupportLocked (L_SUPPORT_DOCUMENT))
   {
      MessageBox (NULL, TEXT("Support for Document/Medical Capabilities is locked- You need to unlock Document/Medical capabilities"), 
         TEXT("IsSupportLocked"), MB_OK);
      return FAILURE;
   }
   else
   {
      MessageBox (NULL, TEXT("You can use Document/Medical Capabilities"), TEXT("IsSupportLocked"), MB_OK);
      
   }
   return SUCCESS;
}