This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARControl Interface > IARControl.CopyViewToClipboard Method (ArcObjects .NET 10.4 SDK) |
Copies the current map or page layout view to the clipboard.
[Visual Basic .NET]
Public Sub CopyViewToClipboard ( _
)
[C#] public void CopyViewToClipboard ( );
Copies a bitmap of the CurrentView to the system clipboard so that it can be copied into other applications. The output will exactly reflect the state of the CurrentView as seen on the screen.
2003 800A07D3: No document loaded
2106 800A083A: The current document does not have permission to copy to clipboard
The CopyViewToClipboard method will return an error if the currently loaded document was not published with permission to CopyViewToClipboard. Use the HasDocumentPermission method to determine this.