You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Metadata > TagSetValueBytes Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.TagSetValueBytes Method

Writes a tag from data stored within an array of bytes.

C#
public GdPictureStatus TagSetValueBytes(
    int ImageID, 
    Tags TagID, 
    TagType TagType, 
    ref Byte arTagData
);
Visual Basic
Public Function TagSetValueBytes(
    ByVal ImageID As Integer, 
    ByVal TagID As Tags, 
    ByVal TagType As TagType, 
    ByRef arTagData() As Byte
) As GdPictureStatus
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier.  
TagID 
A member of the Tags enumeration.  
TagType 
Type of the tag to write. A member of the TagType enumeration.
You can check the exif specifications to use the good type of tag.
The EXIF specifications can be found at: http://www.exif.org  
arTagData 
Array where the tag value data are stored.  
Returns

A member of the GdPictureStatus enumeration.

Available for EXIF TAGs, Image property ID Tags, Extra TAGs (Like Adobe Image Information tags etc.), Thumbnail related TAGs and Gps TAGs

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.