This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARControl Interface > IARControl.PrintView Method (ArcObjects .NET 10.4 SDK) |
Send the current map or page layout view to the printer.
[Visual Basic .NET]
Public Sub PrintView ( _
)
[C#] public void PrintView ( );
Sends the CurrentView to either the system default printer or the last printer selected in either the esriARWindowsPageSetup or esriARWindowsPrinter window.
2003 800A07D3: No document loaded
2039 800A07F7: No printer for print operation
2109 800A083D: The current document does not have permission to print
The PrintView method will return an error if the currently loaded document was not published with permission to Print. Use the IARControl::HasDocumentPermission method to determine this.