Visual Basic / Printing / wysiwyg
Snippet details
ID: 429
Viewed: 1485
Added: 2002-08-19
Version:
Start a new project in the Visual Basic 32-bit edition. Form1 is created by default.
Put a CommandButton and a RichTextBox control on Form1.
Save the project.
Run the project.
Enter or paste some text into the RichTextBox.
Press the Print command button. Note that the printed output should word-wrap at the same locations as displayed on the screen. Also, the output should be printed with the specified one-inch margin all around.
---- Hope that this helps
Put a CommandButton and a RichTextBox control on Form1.
Save the project.
Run the project.
Enter or paste some text into the RichTextBox.
Press the Print command button. Note that the printed output should word-wrap at the same locations as displayed on the screen. Also, the output should be printed with the specified one-inch margin all around.
---- Hope that this helps
General Details
Snippet uploaded by: snippet
Email : webmaster@snippetlibrary.com
Snippet By: Unknown
| Snippet By: | Unknown |
| Declarations | |
| Code | |
| Highlight All | |
No Reviews to show
