Share via


PrintTask.IsPrinterTargetEnabled Property

Definition

Gets or sets a value indicating whether the PrintTask supports printer targets.

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

Boolean

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.

Applies to