←Select platform

SaveXMPMetadata(Stream,Stream) Method

Summary

Saves all XMP metadata from the source XML file to the destination image file.

Syntax

C#
VB
C++
public void SaveXMPMetadata( 
   Stream sourceStream, 
   Stream destStream 
) 
Public Overloads Sub SaveXMPMetadata( _ 
   ByVal sourceStream As Stream, _ 
   ByVal destStream As Stream _ 
)  
public: 
void SaveXMPMetadata(  
   Stream^ sourceStream, 
   Stream^ destStream 
)  

Parameters

sourceStream
A Stream containing the source XML file from which the metadata should be read.

destStream
A Stream containing the destination image file to which the metadata should be written.

Remarks

The XML file referenced by sourceStream must contain a valid XMP Data.

The file referenced by destStream must be a file format that supports XMP. For example PNG, PDF, JPEG, TIFF and SVG.

To determine if a file format supports XMP, use MetadataItemsSupported.

Example

For an example, refer to SaveXMPMetadata.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly