| Maptitude GISDK Help |
Updates an embedded OLE map.
CopyMapToOLE(string map_name)
| Argument | Contents |
|---|---|
| map_name | The name of the map, or null for the current map |
CopyMapToOLE() updates a map object that is embedded in a container application.
CopyMapToOLE() is typically called in response to the File-Update menu command, which replaces the File-Save menu command for embedded maps. CopyMapToOLE() is not useful with maps that are not embedded.
MenuItem "Update" do
CopyMapToOLE()
endItem
| Error Type | Meaning |
|---|---|
| Error | The specified map is not an embedded OLE object |
| Function | Summary |
|---|---|
| CopyMapToClipboard() | Copies a map object and map picture to the Windows clipboard |
| DragMapToOLE() | Allows the user to drag and drop a map object to an OLE container application |
| ©2025 Caliper Corporation | www.caliper.com |