Leadtools.Codecs Namespace > RasterCodecs Class : ReadCommentAsync Method |
public IAsyncOperation<RasterCommentMetadata> ReadCommentAsync( ILeadStream stream, int pageNumber, RasterCommentMetadataType type )
'Declaration Public Function ReadCommentAsync( _ ByVal stream As ILeadStream, _ ByVal pageNumber As Integer, _ ByVal type As RasterCommentMetadataType _ ) As IAsyncOperation(Of RasterCommentMetadata)
'Usage Dim instance As RasterCodecs Dim stream As ILeadStream Dim pageNumber As Integer Dim type As RasterCommentMetadataType Dim value As IAsyncOperation(Of RasterCommentMetadata) value = instance.ReadCommentAsync(stream, pageNumber, type)
public IAsyncOperation<RasterCommentMetadata> ReadCommentAsync( ILeadStream stream, int pageNumber, RasterCommentMetadataType type )
function Leadtools.Codecs.RasterCodecs.ReadCommentAsync( stream , pageNumber , type )
public: IAsyncOperation<RasterCommentMetadata^>^ ReadCommentAsync( ILeadStream^ 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 Leadtools.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(String,Int32).
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2