ANN: PDFNet v.4.0.3 update

April 11. 2008.
PDFNet v.4.0.3 update
Download: http://www.pdftron.com/downloads.html

What’s New:

  • PDF Layers Support: A new high-level API for manipulating and
    handling PDF documents with layers. PDF Layers, or Optional Content
    Groups (OCGs) as they are more formally known as, refer to sections of
    content in a PDF document that can be selectively viewed or hidden by
    document authors or consumers. This capability is useful in different
    application domains such as CAD drawings, layered artwork, maps, multi-
    language documents, etc.

  • The PDFLayers sample is extended to illustrate how to use the
    PDFDraw class in PDFNet to selectively render and export PDF layers.
    Similarly, the PDFView sample application is extended with a layer tab
    and the capability to interactively toggle OCGs on and off.

  • Other minor improvements and bug fixes.

New Types and Methods:

class pdftron.PDF.OCG.Context
class pdftron.PDF.OCG.Config
class pdftron.PDF.OCG.Group
class pdftron.PDF.OCG.OCMD
PDF.PDFDoc.HasOC()
PDF.PDFDoc.GetOCGs()
PDF.PDFDoc.GetOCGConfig()
PDF.PDFDraw.SetOCGContext()
PDF.PDFRasterizer.SetOCGContext()
PDF.PDFView.SetOCGContext()
PDF.PDFView.GetOCGContext()
PDF.Element.IsOCVisible()
PDF.ElementReader.Begin(OCG.Context);