• 31-01-2010, 17:12:55
    #1
    Merhaba Arkadaşlar yürüttüğüm bir proje için label'a girdiğim yazıyı button'a bastığımda picturebox'a barkod oluşturan C# kodu lazım..
    İnternetteki Dökümanlar yeterince yardımcı olmadı..Özellikle ingilizce kaynaklardaki bilgilerde denememe rağmen çalışmadı..

    Yardımlarınızı Bekliyorum Herkese Kolay Gelsin Saygılarımla..
  • 31-01-2010, 20:44:39
    #2
    15 gün önce birine yapmıştım silmediysem bakayım hariciye
  • 01-02-2010, 00:05:42
    #3
    çok iyi olur hocam. Şimdiden teşekkür ederim.
  • 03-02-2010, 22:04:52
    #4
    protected void Page_Load(object sender, EventArgs e)
    { string Code = Request["Kod"].ToString();
    int w = Code.Length * 28;
    Bitmap oBitmap = new Bitmap(w, 100);
    Graphics oGraphics = Graphics.FromImage(oBitmap);
    Font oFont = new Font(”IDAutomationHC39M”, 18);
    PointF oPoint = new PointF(2f, 2f);
    SolidBrush oBrushWrite = new SolidBrush(Color.Black);
    SolidBrush oBrush = new SolidBrush(Color.White);
    oGraphics.FillRectangle(oBrush, 0, 0, w, 100);
    oGraphics.DrawString(Code, oFont, oBrushWrite, oPoint);
    Response.ContentType = “image/jpeg”;
    oBitmap.Save(Response.OutputStream, ImageFormat.Jpeg);}
  • 04-02-2010, 02:34:04
    #5
    Allah senden razı olsun hocam. Çok lazımdı teşekkur ederim gerçekten.