Basics
 

ABCpdf 14 is a new version completely independent of the old. It incorporates the ABCpdf2, ABCpdf3, ABCpdf4, ABCpdf5, ABCpdf6, ABCpdf7, ABCpdf8, ABCpdf9, ABCpdf10, ABCpdf11, ABCpdf12 and ABCpdf13 namespaces so that you can upgrade with minimal changes to your code. When you want to take advantage of the new features, simply reference the new name.

Simply replace...

 

using WebSupergoo.ABCpdf13;

with...

 

using WebSupergoo.ABCpdf14;

 

   

Changes
 

ABCpdf is fully backward compatible. Although extensive changes have been made to the core engine, we check that these changes produce results that are compatible with previous versions.

There are some minor differences in behavior between the ABCpdf13 and ABCpdf14 namespaces.

The new ABCChrome146 HTML conversion engine is our new default as it is faster, more compliant and more secure than the previous one. If your HTML conversions rely on specific output styles created by the previous default engines - eg ABCChrome86 - you will want to use the following line of code after creating any Doc object, after calling Doc.Read and after calling Doc.Clear.

 

doc.HtmlOptions.Engine = EngineType.Chrome86;

The Doc.SaveOptions.Compact property automatically reduces PDF file size by flattening page contents. However if you save IDs from content addition methods like Doc.AddText, then call Doc.Save then use those IDs to reference the content items, you will wish to disable it because flattening invalidates those IDs. This need is uncommon, so the default works perfectly in most cases.

The XReadOptions.DefaultRect property previously had nonstandard behavior: setting it to null would insert a default sized rectangle instead of remaining null. This has now been fixed to behave as developers expect, so setting it to null actually makes it null.

When using ABCpdf to import Flash or SWF files we now prefer our custom SwfVector ReadModule. If you want to use the old native Flash module instead you can select it by specifying the FlashNative ReadModule. This option reverts to the legacy Adobe dependent parser.