I was wondering if it was possible to use vector images for a cross-platform program or is this ios only.?
I was trying to follow the following guide to display images.
https://developer.xamarin.com/guides/ios/application_fundamentals/working_with_images/displaying-an-image/#Adding_Images_to_a_Asset_Catalog_Image_Set
I added the vector image by following the guide , then in my portable lib i have the following code
Image img = new Image
{
Source = ImageSource.FromFile("image.pdf")
};
The image does not display.(I also tried ImageSource.FromFile("image.png") ImageSource.FromFile("image"))
Any help would be appreciated.
↧
Vector image in portable solution
↧