←Select platform

ExtractXMPMetadata(Stream,Stream) Method

Summary

Extracts all XMP metadata from the source file and saves it to the destination XML file.

Syntax
C#
VB
C++
Java
public void ExtractXMPMetadata( 
   Stream sourceStream, 
   Stream destStream 
) 
Public Overloads Sub ExtractXMPMetadata( _ 
   ByVal sourceStream As Stream, _ 
   ByVal destStream As Stream _ 
)  
public void extractXMPMetadata(ILeadStream sourceStream, ILeadStream destStream) 
public: 
void ExtractXMPMetadata(  
   Stream^ sourceStream, 
   Stream^ destStream 
)  

Parameters

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

destStream
A destination Stream to which the metadata should be written in XML format.

Remarks

The Stream referenced by sourceStream 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 ExtractXMPMetadata.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly