Cannot convert 'TRVSaveOption' to 'TRVSaveOptions'

General TRichView support forum. Please post your questions here
Post Reply
Fastex
Posts: 1
Joined: Thu Jan 16, 2014 2:02 pm

Cannot convert 'TRVSaveOption' to 'TRVSaveOptions'

Post 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!
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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);
Post Reply