←Select platform

RasterSupport Class

Summary
The RasterSupport class provides methods for setting a LEADTOOLS runtime license and unlocking support for optional LEADTOOLS features, such as LEADTOOLS Document/Medical capabilities. For activating server licenses, see License Activation: Windows Server and Linux Machine.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public static class RasterSupport 
@interface LTRasterSupport : NSObject 
public final class RasterSupport  
public ref class RasterSupport abstract sealed  
class RasterSupport: 
Remarks

For more information, refer to Unlocking Special LEAD Features.

Example

This example will set a runtime license and check for Document support. You must obtain the proper license and developer key from LEAD.

C#
using Leadtools; 
 
 
public void SetLicenseFileExample() 
{ 
#if DEBUG 
	LicenseSupport.SetLicense(); 
#else 
	string MY_LICENSE_FILE = @"leadtools.lic"; 
	string MY_DEVELOPER_KEY = "xyz123abc"; 
	RasterSupport.SetLicense(MY_LICENSE_FILE, MY_DEVELOPER_KEY); 
#endif 
	bool isLocked = RasterSupport.IsLocked(RasterSupportType.Document); 
	if (isLocked) 
		Console.WriteLine("Document support is locked"); 
	else 
		Console.WriteLine("Document support is unlocked"); 
} 
Requirements

Target Platforms

Help Version 22.0.2023.5.16
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.