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.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;
}
}
RasterSupportExamples.prototype.LeadtoolsKernelExample = function () {
// show current kernel
switch (Leadtools.RasterSupport.kernelType) {
case Leadtools.RasterKernelType.release:
console.info("Release kernel");
break;
case Leadtools.RasterKernelType.evaluation:
console.info("Evaluation kernel");
// show if the kernel has expired
if (Leadtools.RasterSupport.kernelExpired)
console.info("Evaluation kernel has expired");
else
console.info("Evaluation kernel has not expired yet");
break;
}
}
using Leadtools;
using Leadtools.Codecs;
using Leadtools.ImageProcessing;
public void LeadtoolsKernelExample()
{
// show current kernel
switch(RasterSupport.KernelType)
{
case RasterKernelType.Release:
Debug.WriteLine("Release kernel");
break;
case RasterKernelType.Evaluation:
Debug.WriteLine("Evaluation kernel");
// show if the kernel has expired
if(RasterSupport.KernelExpired)
Debug.WriteLine("Evaluation kernel has expired");
else
Debug.WriteLine("Evaluation kernel has not expired yet");
break;
}
}
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
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