"Syncfusion.HTMLToDLS"
Does this part included,if I only buy the DOCIO ?
Or What''s the product will support it ?
>Hi Kai,
InsertHTML() method insection object is used to insert HTML strings as Paragraph items. In order to make use of it you need to register HTMLConvertor class of HTMLToDLS. Here is some code to register it
// Creating a HTML converter object.
HTMLConverter htmlconvertor = new HTMLConverter();
// Registering HTML converter object.
HtmlConverterFactory.Register( htmlconvertor );
and here is a code to insertHTML strings
// Add a new section to the document.
IWSection section1 = document.AddSection();
IWParagraph htmlpara=section1.AddParagraph();
section1.InsertHTML( HTMLStrings ,Paragraph index);
and here is a sample for your reference:
http://www.syncfusion.com/Support/user/uploads/InsertHTML_113f0531.zipPlease'>http://www.syncfusion.com/Support/user/uploads/InsertHTML_113f0531.zip''>http://www.syncfusion.com/Support/user/uploads/InsertHTML_113f0531.zip
Please take a look at the sample and let me know if you have any questions.
Regards,
Ajish.
>hi Guys,
the section object in DocIO has a method InsertHtml. When i try to call this method it says, Ihtmlconverter not registeres call htlmconverter.register, bti this method can''t be called. How can i use this method?
best regards,
Kai