|
-
May 31st, 2012, 04:48 PM
#1
Thread Starter
Addicted Member
Images in Rich Text Boxes
In a program I'm planning to generate reports which I'll display using the rich text box. Besides rich text, i want to put images into the rtb. I've looked up how to put images into rtbs and the only way that i can find seems to be by pasting them from the clipboard. This method works well with setting bitmaps to the clipboard but i run into a problem when i try to set a metafile to the clipboard (the report contains plots and metafiles are perfect for that kind of thing). So if there could be another way of inserting a metafile into a rtb or maybe a way to write a rtf file with a metafile in it, that would be great.
-
May 31st, 2012, 09:43 PM
#2
New Member
Re: Images in Rich Text Boxes
Put a PictureBox on the rtb, that might help
-
Jun 3rd, 2012, 02:26 PM
#3
Thread Starter
Addicted Member
Re: Images in Rich Text Boxes
Well i guess since rtbs aren't the most compatible with metafiles I'll have to use bitmaps instead. One reason why I was wanting to use metafiles is because their file size is very small. When I simply use the .Save method of the rich text box it creates very large files (which contain images) so I assume that it's saving in the .bmp format. How do you save rtf files whose images are in a smaller format like .gif?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|