/how-to-print-or-export-a-map-t185956

.NET, WinForms, XtraMap

Primary LanguageVisual Basic .NETOtherNOASSERTION

Files to look at:

How to: print or export a map

This example demonstrates how to print or export a map.

Description

 To print a map use one of the following methods.
- ShowPrintPreview - invokes the Print Preview Form;
ShowRibbonPrintPreview - invokes the Print Preview Form with the Ribbon bar;
ShowPrintDialog - invokes the standard Print Dialog.

To export a map image to a file use one of the following methods.
- ExportToImage - exports the map to an image file;
- ExportToMht - exports the map to a *.mht file;
- ExportToPdf - exports the map to a *.pdf file;
- ExportToXls - exports the map to a *.xls file;
- ExportToXlsx - exports the map to a *.xlsx file.