Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.8.30
|
Leadtools.Codecs Namespace > RasterCodecs Class > ReadComment Method : ReadComment(Stream,Int32,RasterCommentMetadataType) Method |
public RasterCommentMetadata ReadComment( Stream stream, int pageNumber, RasterCommentMetadataType type )
'Declaration
Public Overloads Function ReadComment( _ ByVal stream As Stream, _ ByVal pageNumber As Integer, _ ByVal type As RasterCommentMetadataType _ ) As RasterCommentMetadata
'Usage
Dim instance As RasterCodecs Dim stream As Stream Dim pageNumber As Integer Dim type As RasterCommentMetadataType Dim value As RasterCommentMetadata value = instance.ReadComment(stream, pageNumber, type)
public RasterCommentMetadata ReadComment( Stream stream, int pageNumber, RasterCommentMetadataType type )
- (nullable LTRasterCommentMetadata *)readCommentFromStream:(LTLeadStream *)stream pageNumber:(NSInteger)pageNumber type:(LTRasterCommentMetadataType)type error:(NSError **)error
public RasterCommentMetadata readComment(ILeadStream stream, int pageNumber, RasterCommentMetadataType type)
function Leadtools.Codecs.RasterCodecs.ReadComment(Stream,Int32,RasterCommentMetadataType)( stream , pageNumber , type )
public: RasterCommentMetadata^ ReadComment( Stream^ stream, int pageNumber, RasterCommentMetadataType type )
Some file formats can contain comments, and some cannot, and each file format has its own set of comment types. When you save a file, the comments in the RasterImage object can be saved in the file. The index into the array (specified using a constant) determines the type of comment.
You can use CommentsSupported to determine whether a certain file format supports tags.
To read all the comments stored in a file, use ReadComments.