phillip.hess@dot.gov
Member
- Joined
- Nov 9, 2009
- Messages
- 16
- Programming Experience
- Beginner
I have a situation where I have a report generated by a CAD application. It's plain text. The report comes out on landscape letter size paper. I need to format the report and insert a gap 15 charaters wide so the report can have whols punched down the center so it can go into a small field binder. I can read the file into the RichTextBox without any problems. I just cant figure out how to insert the gap. Here is how I'm bring the file into the RTF.
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
If OpenFileDialog1.ShowDialog() = DialogResult.OK Then
RichTextBox1.Font = New Font("Lucida Console", 10, FontStyle.Regular)
RichTextBox1.LoadFile(OpenFileDialog1.FileName, RichTextBoxStreamType.PlainText)
End If
End Sub
Thank you for any help.
-Phillip
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
If OpenFileDialog1.ShowDialog() = DialogResult.OK Then
RichTextBox1.Font = New Font("Lucida Console", 10, FontStyle.Regular)
RichTextBox1.LoadFile(OpenFileDialog1.FileName, RichTextBoxStreamType.PlainText)
End If
End Sub
Thank you for any help.
-Phillip