public static bool IsLocked(
RasterSupportType support
)
+ (BOOL)isLocked:(LTRasterSupportType)support
public static boolean isLocked(
RasterSupportType support
);
public:
static bool IsLocked(
RasterSupportType support
)
def IsLocked(self,support):
support
Support type
true or false
To set a runtime license and unlock a feature, use the SetLicense method.
For more information, refer to Unlocking Special LEAD Features and A Special Note about Loading 12 and 16 Bit Grayscale Images.
For information about LEADTOOLS Document/Medical capabilities, contact LEAD.
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");
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document