Share via


PrintManager.IsSupported Method

Definition

Indicates whether or not the app is running on a device that supports printing.

public:
 static bool IsSupported();
 static bool IsSupported();
public static bool IsSupported();
function isSupported()
Public Shared Function IsSupported () As Boolean

Returns

Boolean

bool

Returns true if on a device that supports printing, returns false if not.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

A Universal Windows app should use this method to determine whether to show or hide certain UI elements related to the printing task.

Applies to