تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
طباعة كل محتويات الصورة بالاضافات الجديدة
#4
PHP كود :
Private Sub PrintDocument1_PrintPage(ByVal sender As System.ObjectByVal e As Printing.PrintPageEventArgsHandles PrintDocument1.PrintPage

    Dim recHeight 
As Integer e.PageSettings.PrintableArea.Height 4
    Dim recWidth 
As Integer e.PageSettings.PrintableArea.Width 3

    Dim i 
As Integer 1
    Dim img 
As Image Nothing

    
For 0 To 3
        
For 0 To 2
            
If 1 Then img PictureBox1.Image
            
If 2 Then img PictureBox2.Image
            
If 3 Then img PictureBox3.Image
            
If 4 Then img PictureBox4.Image
            
If 5 Then img PictureBox5.Image
            
If 6 Then img PictureBox6.Image
            
If 7 Then img PictureBox7.Image
            
If 8 Then img PictureBox8.Image
            
If 9 Then img PictureBox9.Image
            
If 10 Then img PictureBox10.Image
            
If 11 Then img PictureBox11.Image
            
If 12 Then img PictureBox12.Image
            e
.Graphics.DrawImage(img, New Rectangle((recWidth), (recHeight), recWidthrecHeight))
            
+= 1
        Next
    Next

    e
.Graphics.DrawString("Text", New Font("Arial"30FontStyle.Bold), Brushes.Blue, New Point(100100))
    
e.Graphics.DrawString(Today.ToLongDateString, New Font("Arial"30FontStyle.Bold), Brushes.Brown, New Point(100150))

End Sub 
الرد }}}
تم الشكر بواسطة: sendbad100


الردود في هذا الموضوع
RE: طباعة كل محتويات الصورة بالاضافات الجديدة - بواسطة a.ahmed - 08-10-17, 02:43 AM


التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم