yeni başladığım bir projede düşündüğüm bi kaç yönetim metodu için ihtiyacım olan ekran goruntusu almayı Grapich sınıfı ile çözebildim. ekran görüntüsünü bitmap formatında veren fonksiyonu vermek istiyorum

0
1
2
3
4
5
6
7
        private Bitmap goruntuAl(int X, int Y, int Width, int Height)
        {
            Bitmap bmp = new Bitmap(Width, Height);
            Graphics grafik;
            grafik = Graphics.FromImage(bmp);
            grafik.CopyFromScreen(X, Y, 0, 0, System.Windows.Forms.Screen.PrimaryScreen.Bounds.Size, CopyPixelOperation.SourceCopy);
            return bmp;
        }

One Response to “c# ile ekran görüntüsü alma.”

  1. [...] once kendi pcmde denemeye kalktım ama mantıksızlık olduğunu anca pc donunca anladım (: ilk ekran goruntusu alma konumuzdaki fonksiyonu kullanarak ikinci monitorumden goruntu aldım oncelikle.  biraz eğlence [...]

Leave a Reply

(required)

(required)


two + = 6

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

© 2012 Tufan Suffusion theme by Sayontan Sinha