This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
map_suite_extensions_guide [2015/09/11 05:52] admin [ZedGraph Style Extension] |
map_suite_extensions_guide [2015/09/15 03:46] (current) admin [PDF Extension] |
||
---|---|---|---|
Line 16: | Line 16: | ||
==== PDF Extension ==== | ==== PDF Extension ==== | ||
- | The PDF extension allows you to print your maps to a PDF using vector art instead of a rendered bitmap. To implement this extension, we created a new class called <code>PdfGeoCanvas</code> that inherits from the abstract class <code>GeoCanvas</code>. As a result, we can easily draw all of our layers using this new <code>GeoCanvas</code> type. This is not just a cool extension for writing to PDFs, but also a fine example of how extensible the Map Suite 3.x framework is. We went from normally drawing on a bitmap with pixels to drawing to a vector PDF with points. | + | The PDF extension allows you to print your maps to a PDF using vector art instead of a rendered bitmap. To implement this extension, we created a new class called ''PdfGeoCanvas'' that inherits from the abstract class ''GeoCanvas''. As a result, we can easily draw all of our layers using this new ''GeoCanvas'' type. This is not just a cool extension for writing to PDFs, but also a fine example of how extensible the Map Suite 3.x framework is. We went from normally drawing on a bitmap with pixels to drawing to a vector PDF with points. |
For an example of how the PDF extension works, take a look at our [[Map Suite Wpf Desktop Edition Printing Samples]]. These WPF and Windows Forms samples utilize the PDF extension to power an extensive UI for creating and printing maps on customizable page layouts. | For an example of how the PDF extension works, take a look at our [[Map Suite Wpf Desktop Edition Printing Samples]]. These WPF and Windows Forms samples utilize the PDF extension to power an extensive UI for creating and printing maps on customizable page layouts. |