static RectangleF GetImageRectF(int index) { Rectangle imageRect = I9Gfx.GetImageRect(index); return(new RectangleF((float)imageRect.X, (float)imageRect.Y, (float)imageRect.Width, (float)imageRect.Height)); }