Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
RasterCommentMetadata Class
See Also  Members  
Leadtools Namespace : RasterCommentMetadata Class




Extends the RasterMetadata class to provide functionality for dealing with comment metadata stored within various image file formats.

Syntax

Visual Basic (Declaration) 
<SerializableAttribute()>
Public Class RasterCommentMetadata 
   Inherits RasterMetadata
Visual Basic (Usage)Copy Code
Dim instance As RasterCommentMetadata
C# 
[SerializableAttribute()]
public class RasterCommentMetadata : RasterMetadata 
Managed Extensions for C++ 
[SerializableAttribute()]
public __gc class RasterCommentMetadata : public RasterMetadata 
C++/CLI 
[SerializableAttribute()]
public ref class RasterCommentMetadata : public RasterMetadata 

Example

This example will write comments of different data types to an existing tif file then read them as a test.

Remarks

The TIFF file formats support a number of comments that are saved and loaded using predefined tags.

If the comments do not meet your needs, you can define your own tag for saving additional non-raster data in a TIFF file. For example, you may want to define a tag to save annotations.

The TIFF 6.0 Specification sets aside a range of private tags that developers can define. To avoid conflicts with files created by other developers, you can register your tag by contacting Adobe Developer Relations. The E-Mail address posted on The Unofficial TIFF Home Page is gapdevsup@adobe.com.

Some restrictions apply to this function if you use an IFD to indicate to which page to write the metadata. See the Loading And Saving Large TIFF Files topic for more information.

Inheritance Hierarchy

System.Object
   Leadtools.RasterMetadata
      Leadtools.RasterCommentMetadata

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also