AppendHtml

Hi I am trying to use the AppendHtml method on a paragraph, but the method is not available. I would like to add some text with embedded <i>italics</i>. 

Is there a specific reason this method is missing in the portable assembly?

Thx Pieter

5 Replies

MJ Mohanaselvam Jothi Syncfusion Team April 16, 2018 11:12 AM UTC

Hi Pieter,

Thank you for contacting Syncfusion support.

From v15.1.0.33 release onwards, DocIO have provided support for appending HTML text in paragraph using AppendHTML method of WParagraph for ASP.NET Core platform. We suspect that you are using our earlier version of Syncfusion assemblies in your application. So, we recommend you to use our latest Essential Studio 2018 Volume 1 SP 1 (v16.1.0.32) to append a HTML document in a ASP.NET Core application, which can be downloaded from the below link:
https://www.syncfusion.com/forums/136746/essential-studio-2018-volume-1-service-pack-release-v16-1-0-32-available-for-download
 


Please let us know if you have any other questions.

Regards,
Mohanaselvam J
 



PV Pieter van Kampen April 16, 2018 12:24 PM UTC

Hi Mohanaselvam,
I am using the latest version. 

Thanks

Pieter

Attachment: Nuget_Syncfusion_797a2b03.zip


MJ Mohanaselvam Jothi Syncfusion Team April 17, 2018 11:49 AM UTC

Hi Pieter,

Thank you for your update.

We suspect that you are using AppendHTML method of IWParagraph interface. We have not exposed this API in interface and we suggest you, access it by type casting the instance as WParagraph class type.

We will expose this method in IWParagraph interface along with 2018 Vol 2 release which is expected to available during end of May 2018.

Please let us know if you have any other questions.

Regards,
Mohanaselvam J



PV Pieter van Kampen April 22, 2018 08:47 AM UTC

Thanks 
that does the trick.

I am trying:
var p  =  row.Cells[0].AddParagraph();
p.AppendHTML("some text");

So yes that is on the IWParagraph interface.
Somehow  this seems a bit strange
((WParagraph) p).AppendHTML("some text");

Anyway, it works now!


DB Dilli Babu Nandha Gopal Syncfusion Team April 23, 2018 06:16 AM UTC

Hi Peiter, 
 
Thank you for your update. 
 
We are glad to know that your requirement has been fulfilled. Please let us know if you need any further technical assistance on this query. 
 
Regards, 
Dilli babu. 


Loader.
Up arrow icon