The .NET Standard is a formal specification of .NET APIs that are intended to be available on all .NET implementations. The motivation behind the .NET Standard is establishing greater uniformity in the .NET ecosystem. The .NET standard applications can be run not only on the usual platforms, but on iOS, Android, UWP and Linux as well.
The API of PDFKit.NET 5.0 .NET Standard edition is slightly different from the .NET 4 edition. The reason behind it is that .NET Standard does not include GDI+, WPF or any graphics APIs, so classes related to image handling and 2D coordinates must have been relpaced by our own classes. This inflicts a very small amount of changes on our API:
TopRightproperties of the
TallComponents.PDF.TextExtraction.Glyphclass return coordinates of type
TallComponents.Core.PointFin PDFKit 5 .NET Standard.
TallComponents.PDF.Forms.Fields.ImageFieldaccept and return images of type
TallComponents.Images.Core.CoreBitmapin PDFKit 5 .NET Standard.
TallComponents.Images.Core.CoreBitmapcan be created by passing a
System.IO.Streamor a path pointing to an image file. As for now, it can load JPEG, GIF, PNG, TIFF and JBIG2 image formats. It can save bitmaps as compressed PNGs only.
There are no extension methods converting GDI+ or WPF color classes to
TallComponents.PDF.Colors.Colorin PDFKit 5 .NET Standard. Colors can be conviniently created by RGB color components using an
TallComponents.PDF.Colors.RGBColorctor, or by color names using
System.Drawing.Drawing2D.Matrix, one can use
TallComponents.PDF.Transforms.MatrixTransformwith similar features.