Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description:Exports the current map as EMF.

Syntax

Syntax:exportEMF [filename, drawgrid, drawcontours, drawtypes, flipvertical]
Parameters:
  • filename: String - File name or absolute path to file (for example, "myFile.emf" or "c:\\myFile.emf"). If no path is specified, the file is saved in the VBS installation folder.
  • drawgrid: Boolean - Draw grid (optional, default: true).
  • drawcontours: Boolean - Draw contours (optional, default: true).
  • drawtypes: Number - Draw types (optional, default is 256, which represents all types):
    • Roads: 1
    • Buildings: 2
    • Vegetation: 4
    • Water: 8
    • Trees: 16
    • Fences: 32
    • Walls: 64
    • Powerlines: 128
    • Undefined: 256

Different draw types can be combined by adding their numbers (for example, to display roads and buildings, use 3 as the draw type) - only available in V1.23+.

  • flipvertical: Boolean - Flips the EMF upside down (optional, default: false). By default EMF, assumes 0,0 as the top left - only available in V1.23+.
Return Value:Nothing

Examples

Examples:
exportEMF ["test.emf",true,true];

Additional Information

See also: exportSHP, exportASCIIGrid, exportMap
Multiplayer: 
Problems: 

Notes