Export (0) Print
Expand All

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 = gcnew TextBlock();
myTextBlock->Text = "The Description metadata of this image is: " + pngInplace->GetQuery("/Text/Description")->ToString();
© 2015 Microsoft