Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- System.Windows.Controls.Image img = new System.Windows.Controls.Image();
- string UriValue = HtmlPage.Document.DocumentUri.AbsoluteUri + imagefilename;
- img.SetValue(System.Windows.Controls.Image.SourceProperty,
- new System.Windows.Media.Imaging.BitmapImage(new Uri(UriValue)));
- double imagewidth = img.Width;
Add Comment
Please, Sign In to add comment