This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARGlobeControl Interface > IARGlobeControl.PrintView Method (ArcObjects .NET 10.5 SDK) |
Send the current map or page layout view to the printer.
[Visual Basic .NET]
Public Sub PrintView ( _
)
[C#] public void PrintView ( );
Sends the view to either the system default printer or the last printer selected in either the esriARGlobeWindowsPageSetup or esriARGlobeWindowsPrinter window.
The PrintView method will return an error if the currently loaded document was not published with permission to Print. Use the IARGlobeControl::HasDocumentPermission method to determine this.