Page 1 of 1

Problem data volume!!

Posted: Fri Nov 26, 2010 10:17 am
by Ceprotec
Sergey Tkachenko Hi! How are you?

Because of my need to save all documents that are printed through the RichView, I'm having a problem with the large volume (size) that is generating due to utilization of images. I record everything that is printed in database SQL Server 2000 in a binary format. The RichView sends as SaveRVFToStream, but the problem is the images contained. Would not choose to have the text was only saved along with the variables and their tasks, but separating the images. I do not need to save the images in the database, somet text. Would?

Posted: Fri Nov 26, 2010 12:19 pm
by Ceprotec
He also served as if it had to burn the body of the text without header ..???

Posted: Fri Nov 26, 2010 4:58 pm
by Sergey Tkachenko
1) May be the problem can be solved if you change format of images. If they are bitmaps, you can convert them to PNG.

2) You can exclude rvfoSavePicturesBody from RVFOptions property. In this case, images will not be saved in RVF. Instead, when loading, OnRVFPictureNeeded event will occur.
Example can be found in demos: Assorted\Graphics\ShareImages\

Posted: Mon Nov 29, 2010 11:11 am
by Ceprotec
I'm having trouble manipulating events RichViewEdit. I need to power through code change between saving image or not, ie RVFOptions, property rvfoSavePicturesBody need for code to put false or true .. how do I get this property to true or false?

Posted: Mon Nov 29, 2010 6:25 pm
by Sergey Tkachenko
Including this option:
RichViewEdit1.RVFOptions := RichViewEdit1.RVFOptions+[prvfoSavePicturesBody];
Excluding this option:
RichViewEdit1.RVFOptions := RichViewEdit1.RVFOptions-[prvfoSavePicturesBody];

Posted: Tue Nov 30, 2010 1:01 pm
by Ceprotec
Thank you. :D