| Maptitude GISDK Help |
Copies a map object and map picture to the Windows clipboard.
CopyMapToClipboard(string map_name, scope scp)
| Argument | Contents |
|---|---|
| map_name | The name of the map, or null for the current map |
| scp | The area of the world used to create the image that is copied to the clipboard |
CopyMapToClipboard() puts the map on the clipboard in three formats: as an OLE object, as a Windows Metafile, and as a Windows bitmap.
If the map scope is omitted, CopyMapToClipboard() uses the current scope of the map window.
CopyMapToClipboard("U.S. States",)
| Error Type | Meaning |
|---|---|
| NotFound | There is no map with the specified name |
| Function | Summary |
|---|---|
| CopyMapToOLE() | Updates an embedded OLE map |
| DragMapToOLE() | Allows the user to drag and drop a map object to an OLE container application |
| SaveMapToBitmap() | Saves the map image as a Windows bitmap file |
| SaveMapToMetafile() | Saves map graphics in Enhanced Windows Metafile format |
| ©2025 Caliper Corporation | www.caliper.com |