Gets the type of the LEADTOOLS kernel.
public static Leadtools.RasterKernelType KernelType {get;}
Public Shared ReadOnly Property KernelType As Leadtools.RasterKernelType
public static Leadtools.RasterKernelType KernelType {get;}
+ (LTRasterKernelType)kernelType
public static RasterKernelType getKernelType()
get_KernelType();
public:
static property Leadtools.RasterKernelType KernelType {
Leadtools.RasterKernelType get();
}
Aa RasterKernelType enumeration member indicating the LEADTOOLS kernel type.
There are 3 types of LEADTOOLS kernels, as described in the following table:
Kernel | Description |
---|---|
Release | This is the Release kernel. |
Nag | This is a special build of the kernel, which has specialty features (such as Document Imaging and Medical Imaging) unlocked. This kernel is provided to Document and Medical imaging customers, and displays a "nag" message during execution. To remove the nag, you must sign a royalty agreement. For more information, contact sales@leadtools.com. |
Evaluation | This is the Evaluation kernel, which has all features unlocked, but displays an "eval" message during execution. This kernel will also expire. |
This example will check the LEADTOOLS kernel type and whether it has expired
using Leadtools;
using Leadtools.Codecs;
using Leadtools.ImageProcessing;
public void LeadtoolsKernelExample()
{
// show current kernel
switch (RasterSupport.KernelType)
{
case RasterKernelType.Release:
Console.WriteLine("Release kernel");
break;
case RasterKernelType.Evaluation:
Console.WriteLine("Evaluation kernel");
// show if the kernel has expired
if (RasterSupport.KernelExpired)
Console.WriteLine("Evaluation kernel has expired");
else
Console.WriteLine("Evaluation kernel has not expired yet");
break;
}
}
Imports Leadtools
Imports Leadtools.Codecs
Imports Leadtools.ImageProcessing
Public Sub LeadtoolsKernelExample()
' show current kernel
Select Case RasterSupport.KernelType
Case RasterKernelType.Release
Console.WriteLine("Release kernel")
Case RasterKernelType.Evaluation
Console.WriteLine("Evaluation kernel")
' show if the kernel has expired
If RasterSupport.KernelExpired Then
Console.WriteLine("Evaluation kernel has expired")
Else
Console.WriteLine("Evaluation kernel has not expired yet")
End If
End Select
End Sub
using Leadtools;
using Leadtools.ImageProcessing;
public void LeadtoolsKernelExample()
{
// show current kernel
switch (RasterSupport.KernelType)
{
case RasterKernelType.Release:
Console.WriteLine("Release kernel");
break;
case RasterKernelType.Evaluation:
Console.WriteLine("Evaluation kernel");
// show if the kernel has expired
if (RasterSupport.KernelExpired)
Console.WriteLine("Evaluation kernel has expired");
else
Console.WriteLine("Evaluation kernel has not expired yet");
break;
}
}
Imports Leadtools
Imports Leadtools.ImageProcessing
<TestMethod>
Public Sub LeadtoolsKernelExample()
' show current kernel
Select Case RasterSupport.KernelType
Case RasterKernelType.Release
Console.WriteLine("Release kernel")
Case RasterKernelType.Evaluation
Console.WriteLine("Evaluation kernel")
' show if the kernel has expired
If RasterSupport.KernelExpired Then
Console.WriteLine("Evaluation kernel has expired")
Else
Console.WriteLine("Evaluation kernel has not expired yet")
End If
End Select
End Sub
Products |
Support |
Feedback: KernelType Property - Leadtools |
Introduction |
Help Version 19.0.2017.6.19
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.