BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
RichTextBox.Document = DocxImporting.ConvertToDocumentAdv(Stream, FormatType);
(source: http://help.syncfusion.com/wpf/tools)
This is no help what so ever - what is FormatType? What value should I provide? It is a String type (why not an enum?), and so Intellisense etc is no help. I have searched your forums and API documenation and can find no mention of this (I cannot find RichTextBoxAdv anywhere in your API documentation).
Could someone please advise how to use this control to load a Word document, and could someone please tell me where I can find the real documentation for this product that we spent thousands of dollars purchasing?
Thanks.
Hi Matt,
Thank you for your interest in Syncfusion products.
Currently we do provide support for WPF RichTextBoxAdv control to view/edit
formatted rich-text content of Word document (*.doc, *.docx), html and text
files. Please do refer our Document Editor sample for more information regarding
loading Word documents in RichTextBoxAdv control from below link.
Run dashboard installed in local machine:
1. Select Start -> Programs -> Syncfusion -> Essential Studio x.x.x.x
-> Dashboard.
2. Select WPF.
3. Select Run Locally Installed Samples.
4. Choose Document Editor sample in Showcase.
We will update necessary information regarding loading Word documents in RichTextBoxAdv
control to our UG documentation in the future, we regret for the inconvenience
caused.
Please let us know if you have any other questions.
Regards,
Gunasekaran
rte.Document = DocxImporting.ConvertToDocumentAdv(e.DocumentStream, e.FormatType);
DocXImporting.ConvertToDocumentAdv requires TWO parameters, as can be seen above.Hi Matt,
We regret for the inconvenience caused. Currently we do provide support to load
Word documents (Only *.doc and *.docx format) in our WPF RichTextBoxAdv
control. Kindly use the Word document extension (“.doc” or “.docx”) as second
parameter for DocxImporting.ConvertToDocumentAdv() method. We will update
necessary information about parameters used for DocxImporting.ConvertToDocumentAdv()
method to load Word documents in RichTextBoxAdv control to our UG documentation
and class reference in the future.
Please let us know if you have any other questions.
Regards,
Gunasekaran