ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] VB.Net ¦C¦L»P¨ä¥L°ÝÃD...

[µo°Ý] VB.Net ¦C¦L»P¨ä¥L°ÝÃD...

¥»©«³Ì«á¥Ñ mark15jill ©ó 2016-11-15 16:45 ½s¿è

¦U¦ì«e½ú¦n¡G
             ³Ìªñ¦b§Ë­Ó¸ê®Æ«Ø¸m¨t²Î... ¹J¨ì´X­Ó²~ÀV¡AÁٽЦU¦ì«e½ú±Ð¾É¡AÁÂÁ¡I

             1.¦p¦bPicture¤W·s¼W´X­ÓLable(¦ì¸m¤w¹ï·Ó§¹²¦)  ¡A«h¦b¦C¦L®É¡A¸Ó¦p¦ó¤@¨Ö¦C¦L¥X¨Ó¡H  (°²³]Lable ¥N¸¹¬° gt(0)~gt(14))
  1.     Private Sub PrintDocument1_PrintPage(ByVal sender As Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage

  2.         e.Graphics.DrawString(Me.gt1(0).Text, Me.gt1(0).Font, Brushes.Black, 100, 100)
  3.         e.Graphics.PageUnit = GraphicsUnit.Millimeter
  4.         e.Graphics.DrawImage(PictureBox1.Image, 0, 0)

  5.     End Sub

  6.     Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
  7.         PrintDocument1.Print()
  8.     End Sub
½Æ»s¥N½X
2.VB.Net ¦p¦ó¿W¨úAIO¤º«ØªºWebCam    ¨ÃºI¹Ï¡H(¥Ø«e¥u·|§Ë VBªº ¿ý¼vµ{¦¡).....
             3.¬d¬Ýºô¸ô¤Wªº±Ð¾Ç ¦ü¥G³£Åã¥ÜVB.net µLªk¨Ï¥Î¤âø¥\¯à(·N«ü ¦bAIO ¤W¥Î¤â«ü©ÎIJ¸Iµ§¶Ãµe)¡A½Ð°Ý¦³µL¨ú¥N¤èªk¡H
             4.¦p·Q PictureBox1  ©M PictureBox2 ¦P¨B¸ê°T(©Ó²Ä¤TÂI)  ¬O§_  PictureBox2.image= PictureBox1.image  ¡H


            ÁÂÁ¦U¦ì

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

§Ú¬Ý§ÚºCºC«÷´ê¦n¤FXD

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

        ÀR«ä¦Û¦b : ­ì½Ì§O¤H´N¬Oµ½«Ý¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD