Error processing SSI file
LEADTOOLS Image File Support (Leadtools.Codecs assembly)

Show in webframe

ReadTag(String,Int32,Int32) Method








A String containing the input file name.
1-based index of the page from which to read the tag.

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
Gets the specified tagged data from a TIFF file. Tags|TIFF
Syntax
'Declaration
 
Public Overloads Function ReadTag( _
   ByVal fileName As String, _
   ByVal pageNumber As Integer, _
   ByVal id As Integer _
) As RasterTagMetadata
'Usage
 
Dim instance As RasterCodecs
Dim fileName As String
Dim pageNumber As Integer
Dim id As Integer
Dim value As RasterTagMetadata
 
value = instance.ReadTag(fileName, pageNumber, id)
- (nullable LTRasterTagMetadata *)readTag:(NSUInteger)tagId 
                                 fromFile:(NSString *)file 
                               pageNumber:(NSInteger)pageNumber 
                                    error:(NSError **)error
            
 function Leadtools.Codecs.RasterCodecs.ReadTag(String,Int32,Int32)( 
   fileName ,
   pageNumber ,
   id 
)

Parameters

fileName
A String containing the input file name.
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

Return Value

The tag data.
Remarks

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.

Example
For an example, refer to DeleteTag.
Requirements

Target Platforms

See Also

Reference

RasterCodecs Class
RasterCodecs Members
Overload List
Implementing TIFF Comments and Tags
EnumTags(string, int) Method
EnumTags(Stream, int) method

Error processing SSI file