Share via


VEPrintOptions Constructor

You are not viewing the latest version of the AJAX control. Bing Maps AJAX V7 is the recommended JavaScript control for Bing Maps. If you need this documentation, it is available in as a CHM or PDF download.

Initializes a new instance of the VEPrintOptions class.

var x = new VEPrintOptions(enablePrinting);

Parameters

Parameter Description

enablePrinting

A Boolean value that represents whether or not to make the map printable. Required.

Remarks

Setting the enablePrinting parameter to a value of true ensures that all of the map control items print properly. However, this may cause a decrease in the performance of the map control, so you should only set this parameter to true when you are ready to print.

See Also

Reference

VEPrintOptions.EnablePrinting Property
VEMap.SetPrintOptions Method