This project has moved and is read-only. For the latest updates, please go here.

OverflowException when serializing ParagraphStyle

Jan 31, 2013 at 12:27 PM

I created a custom ParagraphStyle with Alignment = BottomRight.
When serializing this style, I got "Arithmetic operation resulted in an overflow" exception in the ParagraphStyle.SaveFields() method. Debugging shows that it happens on the following line:
Testing value of alignment shows that it is equal to 1024 :)

PS: the previous message editor was better - it allowed syntax highlighting. Is it CodePlex idea or Yours - to change editor to this ugly "Markdown"?
Jan 31, 2013 at 2:32 PM
Hello Commanche,

this issue was fixed in NShape 2.0.3 (see "Release Notes / Changes in 2.0.3" in the download section.
If you work with SVN, you can also use our SVN repository at GoogleCode which should make synchronizing with your changes easier.

We have no influence on the design / features of this site.
But as far as I can see by now, the new editor may be ugly but it works. The old one did not work correctly on my browser (Firefox) thus forcing me to edit the code sections in the HTML view... and that's way more ugly than this "Markdown"... ;-)
Feb 2, 2013 at 12:30 PM
It's time to move to 2.0.3 :)
Thank You.