Neco/LandView/GraphicsEngine.cs
/// <summary>Generates an error image for the specified error</summary>
/// <param name="Error"></param>
/// <returns></returns>
Generates an error image for the specified error
Generates an error image for the specified error
public static Image GenerateErrorImage(string Error) {
            Image E = new Bitmap(Properties.Resources.LandviewGenerationError);
            Graphics GRM = Graphics.FromImage(E);
            Font NameFont = new(FFamily, 14, FontStyle.Regular, GraphicsUnit.Point);
            GRM.FillRectangle(new SolidBrush(Color.Black), 87, 408, 852, 260);
            GRM.DrawString(Error, NameFont, new SolidBrush(Color.White), 90, 411);
            return E;
        }
public static Image GenerateErrorImage ( string Error ) { Image E = new Bitmap ( Properties . Resources . LandviewGenerationError ) ; Graphics GRM = Graphics . FromImage ( E ) ; Font NameFont = new ( FFamily , 14 , FontStyle . Regular , GraphicsUnit . Point ) ; GRM . FillRectangle ( new SolidBrush ( Color . Black ) , 87 , 408 , 852 , 260 ) ; GRM . DrawString ( Error , NameFont , new SolidBrush ( Color . White ) , 90 , 411 ) ; return E ; }
Generates an error image for the specified error
Generates an error image for the specified error
None
Error
string
None