[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.GcGifReader.GetCommentData

GetCommentData Method

GetCommentData(int)

If the Comment Extension is present in the source GIF file this method returns the comment data as is, without decoding.

Declaration
public byte[] GetCommentData(int commentIndex = 0)
Public Function GetCommentData(Optional commentIndex As Integer = 0) As Byte()
Parameters
Type Name Description
int commentIndex

Index of the Comment Extension, from 0 to CommentCount - 1.

Returns
Type Description
byte[]

Comment as a byte array or null if the source GIF file contains no Comment Extension with given index.