Gets the specified tagged data from a TIFF stream.
public RasterTagMetadata ReadTag(
Stream stream,
int pageNumber,
int id
)
Public Overloads Function ReadTag( _
ByVal stream As Stream, _
ByVal pageNumber As Integer, _
ByVal id As Integer _
) As RasterTagMetadata
- (nullable LTRasterTagMetadata *)readTag:(NSUInteger)tagId
fromStream:(LTLeadStream *)stream
pageNumber:(NSInteger)pageNumber
error:(NSError **)error
public RasterTagMetadata readTag(ILeadStream stream, int pageNumber, int id)
public:
RasterTagMetadata^ ReadTag(
Stream^ stream,
int pageNumber,
int id
)
stream
A Stream containing the input file image data.
pageNumber
1-based index of the page from which to read the tag.
id
Tag to identify the data in the TIFF file. Use the same tag that you specified in the WriteTag. Examples of registered tags are:
Value | Meaning |
---|---|
0x8298 | Copyright comment |
0x8769 | General Exif comments |
0x8825 | Exif GPS comments |
0x80A4 | Annotation TIFF tag |
The tag data.
This method is provided to support TIFF tags that you define. If no such tag exists in the image, this method will return a null reference.
To read all the tags stored in a file, use ReadTags
You can use TagsSupported to determine whether a certain file format supports tags.
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