Printing sizes, Special transparent raster handling, Special transparent vector handling – Pitney Bowes MapXtreme User Manual

Page 521

Advertising
background image

Appendix E: Printing From MapXtreme Applications

Understanding the Print Options in MapXtreme

MapXtreme v7.1

528

Developer Guide

Printing Sizes

MapXtreme provides the options to print your map in different sizes. To alter the size in which maps
are printed set the MapPrintDocument.MapPrintSize property to one of the values in the
MapPrintSize enumeration. The values are as follows:

Fit to Page
This option is the default and the resulting map is printed with its aspect ratio maintained, but scaled
to fit on the page.

MapPrintDocument.MapPrintSize=MapPrintSize.FitPage
Fill Page
This option prints the map so that it fills the page. This method does not maintain the aspect ratio
and the resultant map may be skewed.

MapPrintDocument.MapPrintSize=MapPrintSize.FillPage
Current Map Size
This option prints the map in its original size. This may be fine, however if the map is larger than the
page on which it is printed, the overflow is lost.

MapPrintDocument.MapPrintSize=MapPrintSize.MapSize

L

The following properties are common to both the MapInfo.Printing.MapPrintDocument and
MapInfo.Printing.LegendPrintDocument classes.

Special Transparent Raster Handling

This sets your application to internally manage the transparent pixel display and printing for raster
images. On screen, the transparent image is rendered using a raster operation (ROP) to handle the
transparent pixels. This method may or may not work when printing since MapXtreme uses a
different method to decide the transparent method for printing. You must determine if your particular
print driver handles ROP correctly, and set it to true or false accordingly. Under most printing
conditions, this value should be set to true. When drawing to the screen, this value is normally set
to false. Use DrawingAttributes.SpecialTransparentRasterHandling to set this value.
Setting this value to true (the default) allows the application to internally manage the printing.

L

This setting has no effect when printing vector layers.

Special Transparent Vector Handling

This sets your application to internally manage the transparent vector fill patterns when you print.
Use DrawingAttributes.SpecialTransparentVectorHandling to enable or disable this
functionality. Set this to true to allow MapXtreme to perform special handling when printing
transparent fill patterns or transparent bitmap symbols. This setting is normally used for printing. Set

Advertising