mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-04 09:06:04 +02:00
* Reset branch for WPF changes * Convert BMP to PNG; fix link-out-of-scope err * Add snippets for WPF... 6794 files!!!! * Add missing snippets * update file updated between migration * Fix paths to include * update breadcrumb and toc * fix index links * fix index links * fix index links * fix markdown
22 lines
862 B
Markdown
22 lines
862 B
Markdown
---
|
|
title: "How to: Write Metadata to a Bitmap"
|
|
ms.date: "03/30/2017"
|
|
dev_langs:
|
|
- "csharp"
|
|
- "vb"
|
|
- "cpp"
|
|
helpviewer_keywords:
|
|
- "image metadata [WPF]"
|
|
- "metadata [WPF], writing to a bitmap"
|
|
- "metadata [WPF], in images"
|
|
- "bitmaps [WPF], writing metadata to"
|
|
ms.assetid: 68f0dc4b-c0fe-43be-94f2-9d7399378fb3
|
|
---
|
|
# How to: Write Metadata to a Bitmap
|
|
This example shows how to write metadata to a bitmap using the metadata query language.
|
|
|
|
## Example
|
|
[!code-cpp[BitmapMetadata#SetQuery](~/samples/snippets/cpp/VS_Snippets_Wpf/BitMapMetadata/CPP/BitmapMetadata.cpp#setquery)]
|
|
[!code-csharp[BitmapMetadata#SetQuery](~/samples/snippets/csharp/VS_Snippets_Wpf/BitMapMetadata/CSharp/BitmapMetadata.cs#setquery)]
|
|
[!code-vb[BitmapMetadata#SetQuery](~/samples/snippets/visualbasic/VS_Snippets_Wpf/BitMapMetadata/VB/BitmapMetadata.vb#setquery)]
|