T
Tangible Sahlan
Guest
I used these to insert image on rich text.
Using OFD As New OpenFileDialog
With OFD
.Multiselect = False
.InitialDirectory = "C:\Users\John\Desktop\Picture Files"
.Filter = "Image files (*.Bmp, *.Gif, *.Jpg, *.Png, *.Tif)|*.Bmp;*.Gif;*.Jpg;*.Png;*.Tif"
End With
If OFD.ShowDialog = Windows.Forms.DialogResult.OK Then
If OFD.FileName <> "" Then
Clipboard.SetImage(Image.FromFile(OFD.FileName))
RichTextBox1.Paste()
End If
End If
End Using
My question is how can I include image in print preview and printing
Continue reading...
Using OFD As New OpenFileDialog
With OFD
.Multiselect = False
.InitialDirectory = "C:\Users\John\Desktop\Picture Files"
.Filter = "Image files (*.Bmp, *.Gif, *.Jpg, *.Png, *.Tif)|*.Bmp;*.Gif;*.Jpg;*.Png;*.Tif"
End With
If OFD.ShowDialog = Windows.Forms.DialogResult.OK Then
If OFD.FileName <> "" Then
Clipboard.SetImage(Image.FromFile(OFD.FileName))
RichTextBox1.Paste()
End If
End If
End Using
My question is how can I include image in print preview and printing
Continue reading...