Share via


_Application.PrintCommunication Property

Gets or sets whether communication with the printer is turned on.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property PrintCommunication As Boolean
    Get
    Set
'Usage
Dim instance As _Application
Dim value As Boolean

value = instance.PrintCommunication

instance.PrintCommunication = value
bool PrintCommunication { get; set; }

Property Value

Type: System.Boolean
true if communication with the printer is turned on; otherwise, false.

Remarks

boolean Read/write.

Set the PrintCommunication property to false to speed up the execution of code that sets PageSetup properties. Set the PrintCommunication property to true after setting properties to commit all cached PageSetup commands.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Excel Namespace