0 out of 4 rated this helpful - Rate this topic

How to: Read Metadata from a Bitmap

This example shows how to read bitmap metadata using the metadata query language.


// Add the metadata of the bitmap image to the text block.
TextBlock myTextBlock = new TextBlock();
myTextBlock.Text = "The Description metadata of this image is: " + pngInplace.GetQuery("/Text/Description").ToString();
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.