GoDigram for .NET Framework and .NET Core
Inheritance Hierarchy
In This Topic
    Northwoods.Go.Pdf Namespace
    In This Topic

    The PDF assembly supports the generation of Adobe PDF from a GoView.
    The Northwoods.Go.Pdf assembly consists principally of the GoPdfWriter and a GoPdfGenerator class (and GoObject specific GoPdfGenerator derived classes such as GoShapeGenerator).
    Using the GoPdfWriter class is extremely easy.  One can typically render an entire GoView and all the GoObjects it displays by writing just a few lines of code:

      GoPdfWriter writer = new GoPdfWriter();
      writer.View = goView1;
      GoPdfMetadata meta = new GoPdfMetadata() { Title = "A Diagram",
         Author = new List<string>() { "Author1", "Author2" },
         Producer = "The Producer" };
      writer.RegisterStandardGenerators();
      writer.Generate(path);

    Classes
     ClassDescription
    ClassDraws a Northwoods.Go.GoObject. Each GoPdfGenerator is associated with a specific derivative of GoObject via the Type property, and must be registered with the GoPdfWriter being used. Generators for all types of standard GoObjects are provided, and can be registered by calling GoPdfWriter.RegisterStandardGenerators. Custom GoObjects may need a custom generator. Custom drawing can be performed by calling any of a set of predefined drawing functions, which take a specified Pen and/or Brush, and coordinates in Northwoods.Go.GoDocument coordinates.
    Class Represents distances from the edges of a page.
    Class Represents general information about a PDF document.
    Class Contains values for various attributes of a page in a PDF document.
    Class A collection of several common paper sizes
    Class This is the basic class for generating a PDF file
    Enumerations
     EnumerationDescription
    Enumeration Flags specifying how extra space is dealt with. Horizontal and vertical alignments are separate, and a combination of horizontal alignment and vertical alignment can be specified as HorizontalAlignment|VerticalAlignment
    Enumeration Represents the 14 standard PDF fonts that can be substituded for an intended font if the intended font can't be embedded.
    See Also