2010-10-01 106 views
0

我想將Uri對象的uriString設置爲在GifBitmapDecoder中使用的相對路徑。WPF GifBitmapDecoder Uri相對路徑問題

在運行時我得到以下錯誤:

Invalid URI: The format of the URI could not be determined.

我的相對路徑遵循以下格式:

/TestApplication;component/Images/Busy.gif

如果我使用絕對路徑的形象,都完美的作品!

任何幫助,將不勝感激!

回答