Hello,
I want to add at runtime an image from the Dirassets folder. Everything works fine, but I can't find the definition to set the Contentmode of the Imageview at runtime to 'FIT'
ImageViewSplashLogo.Initialize("")
ImageViewSplashLogo.Bitmap = LoadBitmap(File.DirAssets, "dl_logo.jpg")
ImageViewSplashLogo.ContentMode = ????
PageSplash.RootPanel.AddView(ImageViewSplashLogo,50%x - (ImageViewSplashLogo.Width/2), 40%y,90%x,40%y)
Any ideas ?
Thanks,
Johan
I want to add at runtime an image from the Dirassets folder. Everything works fine, but I can't find the definition to set the Contentmode of the Imageview at runtime to 'FIT'
ImageViewSplashLogo.Initialize("")
ImageViewSplashLogo.Bitmap = LoadBitmap(File.DirAssets, "dl_logo.jpg")
ImageViewSplashLogo.ContentMode = ????
PageSplash.RootPanel.AddView(ImageViewSplashLogo,50%x - (ImageViewSplashLogo.Width/2), 40%y,90%x,40%y)
Any ideas ?
Thanks,
Johan