Page 3 of 6

Re: RICHEDITBOX

Posted: Sun Apr 13, 2014 6:24 pm
by serge_girard
Esgici,

Yes, I did... Now again and it works!

Thx Esgici and Claudio !

Serge

Re: RICHEDITBOX

Posted: Sun Apr 13, 2014 7:00 pm
by srvet_claudio
esgici wrote:Sadly, I couldn't achieve a few points: change font and adjust two sides :
Hi Friend,
yes change font only work with arrows of the keyboard but not work with mouse.
adjust two sides: is a bug of API Windows.

Re: RICHEDITBOX

Posted: Sun Apr 13, 2014 8:40 pm
by esgici
srvet_claudio wrote: Hi Friend,
yes change font only work with arrows of the keyboard but not work with mouse.
adjust two sides: is a bug of API Windows.
Gracias amigo

There are some other weird problems in font selection and applying, I think :?

Anyway many thanks to your invaluable participations to HMG :D

Re: RICHEDITBOX

Posted: Sun Apr 13, 2014 9:44 pm
by Javier Tovar
Gracias Dr. Claudio por la aclaración! :D

Saludos

Re: RICHEDITBOX

Posted: Mon Apr 14, 2014 6:50 am
by serge_girard
Hello All & Claudio in particular,

A question: is it somehow possible to SAVE the RTF file AS html-file?
This would be great in order to generate and manage websites...!
And of course insert images....

Claudio any idea?

Thanks for sharing, Serge

Re: RICHEDITBOX

Posted: Mon Apr 14, 2014 7:09 am
by serge_girard
Claudio,

I found this on RTF->HTML:

SautinSoft.RtfToHtml r = new SautinSoft.RtfToHtml();
r.OutputFormat = SautinSoft.RtfToHtml.eOutputFormat.HTML_5;
r.ImageStyle.IncludeImageInHtml = true;
r.ConvertFile(@"d:\document.rtf",@"d:\html5.htm");

Maybe this helps?

Serge

Re: RICHEDITBOX

Posted: Mon Apr 14, 2014 7:22 pm
by srvet_claudio
serge_girard wrote:Hello All & Claudio in particular,

A question: is it somehow possible to SAVE the RTF file AS html-file?
This would be great in order to generate and manage websites...!
And of course insert images....

Claudio any idea?

Thanks for sharing, Serge
Hi Serge,
I would have to study the subject because I know nothing about html.

Re: RICHEDITBOX

Posted: Tue Apr 15, 2014 6:25 am
by serge_girard
Claudio,

I understand completely.

How about inserting images?

Greetings, Serge

Re: RICHEDITBOX

Posted: Tue Apr 15, 2014 4:01 pm
by srvet_claudio
serge_girard wrote: How about inserting images?
Good question :?:

Re: RICHEDITBOX

Posted: Tue Apr 15, 2014 4:37 pm
by serge_girard
Thank you !

+10 !!

Serge