Operating System: Windows 2000 Professional SP4
Language: Visual Basic 6 SP6
I have written the following program to draw a page to be used for answering multichoice quizzes. The bmp file is created with bitcount 24 and xPelsPerMeter = 0 and yPelsPerMeter = 0.
I want to create a monochrome image (bitcount =1) with specific PelsPerMeter (to get a 200 dpi image). I cannot find any properties of picturebox to specify these.
Please help. Thanks.
---------------------------------------------------------
Private Sub Command1_Click()
Dim x, y As Integer
Picture1.DrawWidth = 20
Picture1.PSet (40, 40)
Picture1.DrawWidth = 1
For y = 0 To 21
For x = 0 To 4
Picture1.Line (100 + 40 * x, 100 + 40 * y)-(120 + 40 * x, 120 + 40 * y), , B
Next x
Next y
Picture1.DrawWidth = 20
Picture1.PSet (750, 1080)
SavePicture Picture1.Image, "answers.bmp"
End
End Sub
-------------------------------------------------------