概要
WebBrowserクラスでスクレイピングしてAppData内に保存したpngファイルを画面に表示したいのですができません。
xamlのImageタグのSourceにms-appdata:///のように指定しようとするとBlendはこのファイル形式をサポートしていません
となってしまいます。
詳細
xamlは下記のような記述です。(抜粋)
<Page x:Class="XXX.Pages.YYY.HogePage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:XXX.Pages.YYY" xmlns:pg="clr-namespace:XXX.Views.Pages" mc:Ignorable="d" d:DesignHeight="372" d:DesignWidth="551" Title="ZZZZ"> <Image Width="180" Margin="0,0,0,30" Source="ms-appdata:///local/xyz.png" ></Image> </Page>
動作環境
・.NET Frame Work 4.5
・Visual Studio2015
・Windows10
よろしくお願いします。
回答1件
あなたの回答
tips
プレビュー