ImageGear v26.3 - Updated
ImageGear.Core Assembly / ImageGear.Formats.EXIF Namespace / ImGearEXIFMetadata Class / UserComment Property




In This Topic
    UserComment Property (ImGearEXIFMetadata)
    In This Topic
    Gets or sets UserComment Tag value.
    Syntax
    'Declaration
     
    Public Property UserComment As Byte()
    'Usage
     
    Dim instance As ImGearEXIFMetadata
    Dim value() As Byte
     
    instance.UserComment = value
     
    value = instance.UserComment
    public byte[] UserComment {get; set;}
    public: __property byte[]* get_UserComment();
    public: __property void set_UserComment( 
       byte[][]* value
    );
    public:
    property array<byte>^ UserComment {
       array<byte>^ get();
       void set (    array<byte>^ value);
    }

    Property Value

    Array of bytes.
    Remarks
    This property accesses the UserComment tag. The tag contains keywords or comments on the image besides those in ImageDescription, and without the character code limitations of the ImageDescription tag.

    Get accessor returns the tag value if the tag is present in the metadata tree, or null otherwise.

    Set accessor replaces the current tag value if the tag is present in the metadata tree, adds the tag if it was not present, or deletes the tag if a null value is passed.

    See the EXIF 2.2 specification for tag usage details.

    See Also