Enumerates all the tags in a stream.
public void EnumTags(
Stream stream,
int pageNumber
)
Public Overloads Sub EnumTags( _
ByVal stream As Stream, _
ByVal pageNumber As Integer _
)
public void EnumTags(
Stream stream,
int pageNumber
)
- (BOOL)enumerateTagsInStream:(LTLeadStream *)stream
pageNumber:(NSInteger)pageNumber
callback:(void (^)(LTCodecsEnumTagsEventArgs *tagInfo))handler
error:(NSError **)error
public void enumTags(ILeadStream stream, int pageNumber)
function Leadtools.Codecs.RasterCodecs.EnumTags(Stream,Int32)(
stream ,
pageNumber
)
public:
void EnumTags(
Stream^ stream,
int pageNumber
)
stream
A Stream containing the input file image data.
pageNumber
1-based index of the page from which to enumerate the tags.
This method will fire the TagFound event for each tag found in the stream.
Currently, only TIFF and Exif files contain tags.
For multi-page TIFF files, you can enumerate the tags from a particular page. Specify the page number whose tags to enumerate.
This method enumerates the standard TIFF tags and the user tags. Standard TIFF tags are less than 32767. User TIFF tags are usually between 32768 and 65535.
To enumerate the tags stored in a disk file, use EnumTags.
To read a tag value, use ReadTag and to read all the tags in a file, use ReadTags.
For general information about TIFF tags, refer to Implementing TIFF Comments and Tags.
Do not attempt to use DeleteTag to delete tags from inside the TagFound event. If you want to delete tags that you enumerate, use this event to add the tags to a list. Upon returning from EnumTags, you can delete all the tags from the list.
You can use TagsSupported to determine whether a certain file format supports tags.
For an example, refer to EnumTags.
Products |
Support |
Feedback: EnumTags(Stream,Int32) Method - Leadtools.Codecs |
Introduction |
Help Version 19.0.2017.6.16
|
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.