Posted 9 March 2020, 4:03 am EST
Hello folks,
is there any way to get RTF-Text from C1Editor without using saveRtf(filename) and writing the text to a file?
Thanks in advance for any hint.
Niels
Forums Home / ComponentOne / WinForms Edition
Posted by: c1 on 9 March 2020, 4:03 am EST
Posted 9 March 2020, 4:03 am EST
Hello folks,
is there any way to get RTF-Text from C1Editor without using saveRtf(filename) and writing the text to a file?
Thanks in advance for any hint.
Niels
Posted 11 March 2020, 6:56 am EST
Hi Neils,
Sorry, there is no way to save the RTF-Text from C1Editor without using SaveRtf method.
Is there any specific scenario that you are not using SaveRtf method?
Regards,
Prabhat Sharma.
Posted 11 March 2020, 8:17 am EST
Hello Prabhat,
thank you for your answer.
I like to use C1Editor as a formated textinput field. After userinput i need to save the RTF-Text into a dataset for save this into a database. After loading a database record i like to show the rtf-text into the C1Editor.
Ok - i can save rtf to file and reload this into the dataset and after changing the record i save the database content to file and read this with C1Editor not so nice.
Ok - instead of saving rtf, i can work with the xml-content of C1Editor. Because i like to send the data to a report-generator (like flexreport) i need the rft-text into a record field
Is the any solution to this?
Greetings
Niels
Posted 12 March 2020, 1:17 am EST
Hi Neils,
We are discussing this case with the developers and will let you know shortly.
[Internal Tracking ID: 425268]
Regards,
Prabhat Sharma.
Posted 14 March 2020, 8:07 am EST
Hi Prabhat,
thanks a lot for your answer. I would be nice to find this feature on C1Editor in the future.
Have a nice weekend.
Niels
Posted 17 March 2020, 4:17 am EST
Hi Niels,
As per the developers, it is a limitation of the product to get the RTF text directly.
Regret the inconvenience caused.
Regards,
Prabhat Sharma.