LSettings::IsSupportLocked

#include "ltwrappr.h"

static L_BOOL LSettings::IsSupportLocked(uType)

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

Parameters

L_UINT uType

The optional feature to check. Possible values are:

Value Meaning
L_SUPPORT_DOCUMENT [0] Support for LEADTOOLS Document features (ABC, ABIC, JPEG 2000, JBIG2, NITF, CMW, Document Cleanup, Annotations, JPIP and more). Also includes support for 12 bit grayscale, 16-bit grayscale, 48-bit color and 64-bit images. A LEADTOOLS Document license is required.
L_SUPPORT_BARCODES_1D [1] Support for reading and writing Linear bar codes. This is available in the LEADTOOLS Barcode 1D Module.
L_SUPPORT_BARCODES_2D [2] Support for reading and writing 2D bar codes. This is available in the LEADTOOLS Barcode 2D Module.
L_SUPPORT_RASTER_PDF_READ [3] Support for loading PDF, PS and EPS file formats as raster images. Available in selected LEADTOOLS products. If this support is locked, the PDF, PS and EPS files will not be loaded.
L_SUPPORT_RASTER_PDF_SAVE [4] Support for saving raster images as a PDF file. Available in selected LEADTOOLS products. Includes support for MRC PDF compression and JBIG2 support.
L_SUPPORT_PDF_ADVANCED [5] Support for advanced PDF features.
L_SUPPORT_JBIG2 [6] Support for the JBIG2 file format.
L_SUPPORT_OCR_LEAD [7] Support for the OCR features provided by the LEADTOOLS OCR Module - LEAD Engine. OCR add-on to Document and Medical Imaging toolkits.
L_SUPPORT_OCR_PLUS [8] (Deprecated) Support for the OCR features provided by the OCR Plus engine. OCR add-on to Document and Medical Imaging toolkits.
L_SUPPORT_OCR_OMNIPAGE [9] Support for the OCR features provided by the LEADTOOLS OCR Module - OmniPage Engine. OCR add-on to Document and Medical Imaging toolkits.
L_SUPPORT_OCR_OMNIPAGE_ASIAN [10] Support for the LEADTOOLS OCR Module - OmniPage Engine to recognize Asian text. Available in selected LEADTOOLS products.
L_SUPPORT_OCR_OMNIPAGE_ARABIC [11] Support for Arabic OCR.
L_SUPPORT_OCR_LEAD_PDF_OUTPUT [12] Support for saving OCR results from the LEADTOOLS OCR Module - LEAD Engine as a PDF file. This license is in addition to the cost of the OCR Plugin or Document Imaging.
L_SUPPORT_OCR_PLUS_PDF_OUTPUT [13] (Deprecated) Support for saving OCR results from the OCR Plus engine as a PDF file. This license is in addition to the cost of the OCR Plugin or Document Imaging.
L_SUPPORT_OCR_OMNIPAGE_PDF_OUTPUT [14] Support for saving OCR results from the LEADTOOLS OCR Module - OmniPage Engine and Professional Asian engines as a PDF file. This license is in addition to the cost of the OCR Plugin or Document Imaging.
L_SUPPORT_OCR_OMNIPAGE_ARABIC_PDF_OUTPUT [15] Support for saving OCR results from the LEADTOOLS OCR Module - OmniPage Engine with Additional Languages as a PDF file. This license is in addition to the cost of the OCR Plugin or Document Imaging.
L_SUPPORT_OMR [16] Support for the LEADTOOLS OMR Module. This supports the recognition of check boxes. Available in selected LEADTOOLS products.
L_SUPPORT_ICR_PLUS [17] (Deprecated) Support for the ICR Module within the OCR Plus engine. This supports the recognition of handwritten text. Available in selected LEADTOOLS products.
L_SUPPORT_ICR_OMNIPAGE [18] Support for the ICR Module within the LEADTOOLS OCR Module - OmniPage Engine. This supports the recognition of handwritten text. Available in selected LEADTOOLS products.
L_SUPPORT_DOCUMENT_WRITERS [19] Support for LEADTOOLS Document Writer functionality.
L_SUPPORT_DOCUMENT_WRITERS_PDF [20] Support for PDF output when using the LEADTOOLS Document Writer functionality.
L_SUPPORT_PRINT_DRIVER [21] Support for LEADTOOLS Virtual Printer Driver functionality.
L_SUPPORT_PRINT_DRIVER_SERVER [22] Support for LEADTOOLS Virtual Printer Driver functionality on Windows Server.
L_SUPPORT_PRINT_DRIVER_NETWORK [23] Support for LEADTOOLS Virtual Network Printer Driver functionality.
L_SUPPORT_FORMS [24] Support for Forms Recognition and Processing functionality. Available in selected LEADTOOLS products.
L_SUPPORT_MEDIA_WRITER [25] Support for Data DVD Writing. Available in selected LEADTOOLS products.
L_SUPPORT_MEDICAL [26] Support for the DICOM file format, Document, and all Medical features excluding DICOM Communication. Also includes support for 12 bit grayscale, 16-bit grayscale, 48-bit color and 64-bit images.
L_SUPPORT_MEDICAL_3D [27] Support for Medical 3D features.
L_SUPPORT_DICOM_COMMUNICATION [28] Support for everything unlocked by Medical, plus support for DICOM Network Communication.
L_SUPPORT_CCOW [29] Support for CCOW features.
L_SUPPORT_VECTOR [30] Support for the Vector Features and Vector file formats. Available in selected LEADTOOLS products.
L_SUPPORT_CLOUD [31] Support for LEADTOOLS Distributed Computing SDK.
L_SUPPORT_APP_STORE [32] Support for using LEADTOOLS in an App Store application (Windows Store, Apple Store, Android Store). A LEADTOOLS App Store license is required.
L_SUPPORT_BASIC [33] Support for LEADTOOLS Basic features.
L_SUPPORT_HL7 [34] Support for Health Level 7.
L_SUPPORT_MEDIA_STREAMING [35] Support for the Multimedia Streaming features.
L_SUPPORT_SPECIAL_EFFECTS [36] Support for the Special Effects features.

Returns

Value Meaning
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

Platforms

Win32, x64.

See Also

Functions

Topics

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; 
} 
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.