ImageGear v26.5 - Updated
ImageGear.Core Assembly / ImageGear.Core Namespace / ImGearMetadataHead Class / XMP Property




In This Topic
    XMP Property
    In This Topic
    Gets or sets simplified access to XMP metadata.
    Syntax
    'Declaration
     
    Public Property XMP As ImGearFormatMetadata
    'Usage
     
    Dim instance As ImGearMetadataHead
    Dim value As ImGearFormatMetadata
     
    instance.XMP = value
     
    value = instance.XMP
    public ImGearFormatMetadata XMP {get; set;}
    public: __property ImGearFormatMetadata* get_XMP();
    public: __property void set_XMP( 
       ImGearFormatMetadata* value
    );
    public:
    property ImGearFormatMetadata^ XMP {
       ImGearFormatMetadata^ get();
       void set (    ImGearFormatMetadata^ value);
    }

    Property Value

    ImageGear.Formats.XMP.ImGearXMPMetadataRoot class value.
    Remarks
    The property returns null if XMP metadata doesn't exist in the metadata tree.

    You can add XMP metadata to a metadata tree, if it is not present, by creating a new instance of ImageGear.Formats.XMP.ImGearXMPMetadataRoot class and assigning it to the XMP property. However, this is only allowed if metadata tree's target format is compatible with XMP. Currently, the following target formats support XMP metadata: TIFF, JPEG, PSD, PDF, PS, GIF, PNG, JP2 and JPX.

    See Also