共用方式為


HOW TO:讀取點陣圖的中繼資料

更新:2007 年 11 月

本範例示範如何使用中繼資料 (Metadata) 查詢語言,讀取點陣圖中繼資料。如需完整範例,請參閱 BitmapMetadata 範例

範例

' Add the metadata of the bitmap image to the text block.
Dim myTextBlock As New TextBlock()
myTextBlock.Text = "The Description metadata of this image is: " + pngInplace.GetQuery("/Text/Description").ToString()
// 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();