We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

specified partagraph style not found

Hello

I am getting ArgumentException {"specified partagraph style not found"}. (It is really written like this "partagrath".) I do not have any special styles.

Just calling this method. Adding paragraph to collection.

this.currentParagraphs.Add(this.currentParagraph);

Changing styles fix the problem.

What is the reason for this exception?

1 Reply

VS Vijayakumar S Syncfusion Team October 2, 2009 06:15 AM UTC

Hi Alexey,

Thank you for using Syncfusion products.

We are afraid that we were not able to reproduce the mentioned issue. This exception is handled when null value or empty string value or invalid style name is passed as argument to the method "paragraph.ApplyStyle()" and please ensure that the argument passed is valid. Please have a look at the sample in the below link and let us know if this helps.

http://files.syncfusion.com/support/DocIO.Windows/F90440/F90440.zip

If this issue still exists, please provide us with the code snippet or sample application, so that we can sort out the cause of the issue and provide you a solution.

Please let us know if you have any questions.

Regards,
Vijay

Loader.
Live Chat Icon For mobile
Up arrow icon