draw text over an image
Hi,
I used the imgedit control to draw text over an image [TIF] using annotaions.
When i burned the annotations, the image contains some yellow pixels on it while zoom the image.
When i burn the annotations using imaging application (manually), it seems to be good. I don't know why it is coming when i am using the imgedit control (programmatically).
ImgEdit1.Image = sfile
ImgEdit1.Display
ImgEdit1.FitTo 0
ImgEdit1.Refresh
ImgEdit1.Display
ImgEdit1.AnnotationFont.Size = 6
ImgEdit1.AnnotationFont = "Arial"
ImgEdit1.AnnotationStampText = sText
ImgEdit1.AnnotationType = 8 'wiTextStamp
ImgEdit1.Draw X , y
ImgEdit1.Refresh
ImgEdit1.BurnInAnnotations 0, 2
Please help me how to fix this issue.
thanks,
Joyce.
|