Northwoods.Go.Pdf Assembly
In This Topic
Namespaces
Namespace | Description |
Northwoods.Go.Pdf | 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);
|