PrintTask.IsPrinterTargetEnabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
property bool IsPrinterTargetEnabled { bool get(); void set(bool value); };
bool IsPrinterTargetEnabled();
void IsPrinterTargetEnabled(bool value);
public bool IsPrinterTargetEnabled { get; set; }
var boolean = printTask.isPrinterTargetEnabled;
printTask.isPrinterTargetEnabled = boolean;
Public Property IsPrinterTargetEnabled As Boolean
Property Value
bool
True if the PrintTask supports printer targets.
Remarks
This property works together with Is3DManufacturingTargetEnabled to determine which devices are enumerated when the user extends the print charm. When IsPrinterTargetEnabled is true, the print charm displays conventional printing devices, like 2D printers. When Is3DManufacturingTargetEnabled is true, the print charm displays 3D devices like 3D printers. When both IsPrinterTargetEnabled and Is3DManufacturingTargetEnabled are true, the print charm displays both 2D printers and 3D printers.
By default, IsPrinterTargetEnabled is true and Is3DManufacturingTargetEnabled is false.
UWP apps that support 2D printing in Windows 8 are not required to make a change in Windows 8.1 to add this property.