Imports Leadtools
Imports Leadtools.Codecs
Imports Leadtools.ImageProcessing
Imports Leadtools.ImageProcessing.Color
Imports Leadtools.Drawing
Private Sub ReadMarkersFromStreamExample(ByVal theStream As Stream)
Dim codecs As RasterCodecs = New RasterCodecs()
Dim markers As RasterCollection(Of RasterMarkerMetadata) = codecs.ReadMarkers(theStream)
Console.WriteLine("{0} markers found with the following ID's:", markers.Count)
For Each marker As RasterMarkerMetadata In markers
Console.WriteLine(marker.Id)
Next marker
codecs.Dispose()
End Sub
using Leadtools;
using Leadtools.Codecs;
using Leadtools.ImageProcessing;
using Leadtools.ImageProcessing.Color;
void ReadMarkersFromStreamExample(Stream theStream)
{
RasterCodecs codecs = new RasterCodecs();
RasterCollection<RasterMarkerMetadata> markers = codecs.ReadMarkers(theStream);
Console.WriteLine("{0} markers found with the following ID's:", markers.Count);
foreach (RasterMarkerMetadata marker in markers)
Console.WriteLine(marker.Id);
codecs.Dispose();
}
using Leadtools;
using Leadtools.Codecs;
using Leadtools.Examples;
using Leadtools.ImageProcessing;
using Leadtools.ImageProcessing.Color;
using Leadtools.Windows.Media;
public void ReadMarkersFromStreamExample(Stream inStreamExif)
{
RasterCodecs codecs = new RasterCodecs();
RasterCollection<RasterMarkerMetadata> markers = codecs.ReadMarkers(inStreamExif);
Debug.WriteLine("{0} markers found with the following ID's:", markers.Count);
foreach(RasterMarkerMetadata marker in markers)
Debug.WriteLine(marker.Id);
}
Imports Leadtools
Imports Leadtools.Codecs
Imports Leadtools.ImageProcessing
Imports Leadtools.ImageProcessing.Color
Imports Leadtools.Windows.Media
Public Sub ReadMarkersFromStreamExample(ByVal inStreamExif As Stream)
Dim codecs As RasterCodecs = New RasterCodecs()
Dim markers As RasterCollection(Of RasterMarkerMetadata) = codecs.ReadMarkers(inStreamExif)
Debug.WriteLine("{0} markers found with the following ID's:", markers.Count)
For Each marker As RasterMarkerMetadata In markers
Debug.WriteLine(marker.Id)
Next marker
End Sub