Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.5.8
|
Leadtools.Printer Namespace > Printer Class : EnableInternetPrinting Property |
public bool EnableInternetPrinting {get; set;}
'Declaration Public Property EnableInternetPrinting As Boolean
'Usage Dim instance As Printer Dim value As Boolean instance.EnableInternetPrinting = value value = instance.EnableInternetPrinting
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
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"); }