怎么在内存画Bmp,在上面写几个字,也就是说将几行字转换成一个bmp??

解决方案 »

  1.   

    Var
      Bmptext : TBitmap;BmpText.Canvas.TextOut();
      

  2.   

    是要保存成一个bmp,程序运行时动态显示几行字,然后在内存转换成bmp,保存下来
      

  3.   

    var
       bmp: tbitmap;
    begin
       //image1.Canvas.TextOut(0,0,'hello world');
       //image1.Picture.SaveToFile('c:\hello.bmp');
       bmp := tbitmap.Create;
       bmp.Height := 50;
       bmp.Width := 50;
       bmp.Canvas.TextOut(0,0,'hello world');
       bmp.SaveToFile('c:\world.bmp');
       bmp.Free;
    end;
      

  4.   

    同意  naughtyboy(一切都是为了明天)
      

  5.   

    这里又一个问题,在form上会有字显示出来,而我只是想在后台实现,不想看见