EnableInternetPrinting Property
Summary
Enables or disables Internet printing.
Syntax
public bool EnableInternetPrinting { get; set; }
Public Property EnableInternetPrinting As Boolean
public:
property bool EnableInternetPrinting {
bool get();
void set ( bool );
}
Property Value
true to enable Internet printing; false, otherwise.
Example
using Leadtools.Printer;
using Leadtools;
public void EnableInternetPrintingExamples()
{
networkPrinter = new Printer("Test LEADTOOLS Printer");
// Set Internet printing enable
networkPrinter.EnableInternetPrinting = true;
//Check Internet printing state
bool bInternetPrintingEnabled = networkPrinter.EnableInternetPrinting;
if (bInternetPrintingEnabled)
MessageBox.Show("Internet Printing Enabled");
else
MessageBox.Show("Internet Printing Disabled");
}
Imports Leadtools.Support.Examples
Imports Leadtools.Printer
Imports Leadtools
Public Sub EnableInternetPrintingExamples()
networkPrinter = New Printer("Test LEADTOOLS Printer")
' Set Internet printing enable
networkPrinter.EnableInternetPrinting = True
' Check Internet printing state
Dim bInternetPrintingEnabled As Boolean = networkPrinter.EnableInternetPrinting
If (bInternetPrintingEnabled) Then
MessageBox.Show("Internet Printing Enabled")
Else
MessageBox.Show("Internet Printing Disabled")
End If
End Sub