Hi all
I am going to design an app with different icons. Is there a way to provide a single file containing the whole set of icon and to select them in order to assign to a panel?
that is, instead of these three assignements , three files to load to the project, as following
marker.SetBackgroundImage(LoadBitmapSample(File.DirAssets, "marker2.png", marker.Width, marker.Width))
panel2.SetBackgroundImage(LoadBitmapSample(File.DirAssets, "marker3.png", marker.Width, marker.Width))
panel4.SetBackgroundImage(LoadBitmapSample(File.DirAssets, "sky.png", marker.Width, marker.Width))
to have the equivalent of SetBackgroundImage but with the rectangular cut to get the image.
thanks in advance
Alex
I am going to design an app with different icons. Is there a way to provide a single file containing the whole set of icon and to select them in order to assign to a panel?
that is, instead of these three assignements , three files to load to the project, as following
marker.SetBackgroundImage(LoadBitmapSample(File.DirAssets, "marker2.png", marker.Width, marker.Width))
panel2.SetBackgroundImage(LoadBitmapSample(File.DirAssets, "marker3.png", marker.Width, marker.Width))
panel4.SetBackgroundImage(LoadBitmapSample(File.DirAssets, "sky.png", marker.Width, marker.Width))
to have the equivalent of SetBackgroundImage but with the rectangular cut to get the image.
thanks in advance
Alex