CopyLayoutToClipboard()
Summary
Copies a layout to the Windows clipboard.
Syntax
CopyLayoutToClipboard(string layout_name)
| Argument | Contents |
|---|---|
| layout_name | The name of the layout, or null for the current layout |
Notes
-
CopyLayoutToClipboard() puts the layout on the clipboard in two formats: as a Windows Metafile, and as a Windows bitmap.
Example
CopyLayoutToClipboard("My First Layout")
Error Codes
| Error Type | Meaning |
|---|---|
| NotFound | There is no layout with the specified name |
See Also
| Function | Summary |
|---|---|
| CopyMapToClipboard() | Copies a map object and map picture to the Windows clipboard |
| SaveLayoutToBitmap() | Saves the layout image as a Windows bitmap file |
| SaveLayoutToMetafile() | Saves layout graphics to a Windows metafile |