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
Enumerations
| Enumeration | Description |
| GoPdfAlignment |
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
|
| GoPdfFont |
Represents the 14 standard PDF fonts that can be substituded for an intended font if the
intended font can't be embedded.
|
See Also