Page 1 of 1

Cannot convert 'TRVSaveOption' to 'TRVSaveOptions'

Posted: Thu Jan 16, 2014 2:05 pm
by Fastex
Hi all !
When i write

Code: Select all

RichViewEdit1->SaveHTML("1.html","pix","pic_",rvsoForceNonTextCSS);
i got Cannot convert 'TRVSaveOption' to 'TRVSaveOptions'.

What is that?

I use C++ Builder XE and Windows 7 x64.

Help me, please!

Posted: Thu Jan 16, 2014 5:32 pm
by Sergey Tkachenko
The last parameter is a set of options.

Code: Select all

TRVSaveOptions SaveOptions = TRVSaveOptions();
SaveOptions << rvsoForceNonTextCSS;
RichViewEdit1->SaveHTML("1.html","pix","pic_", SaveOptions);