public IList<RasterMarkerMetadata> ReadMarkers(
string fileName
)
Public Overloads Function ReadMarkers( _
ByVal fileName As String _
) As IList(Of RasterMarkerMetadata)
- (nullable NSArray<LTRasterMarkerMetadata *> *)readMarkersFromFile:(NSString *)file error:(NSError **)error
public:
IList<RasterMarkerMetadata^>^ ReadMarkers(
String^ fileName
)
fileName
A String containing the input file name.
A collection of RasterMarkerMetadata objects containing the metadata marker data.
This method reads all the metadata markers from a file, and returns a collection of the markers.
For Exif files, this metadata collection will contain all the Exif and GPS comments, stored in APP1. It will also contain the audio information stored in APP2.
If the file contains no marker, then this method will return an empty collection.
This example will read all the markers from an EXIF file
using Leadtools;
using Leadtools.Codecs;
using Leadtools.ImageProcessing;
using Leadtools.ImageProcessing.Color;
using Leadtools.Svg;
void ReadMarkersFromFileExample(string exifFileName)
{
RasterCodecs codecs = new RasterCodecs();
IList<RasterMarkerMetadata> markers = codecs.ReadMarkers(exifFileName);
Console.WriteLine("{0} markers found with the following ID's:", markers.Count);
foreach (RasterMarkerMetadata marker in markers)
Console.WriteLine(marker.Id);
codecs.Dispose();
}
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