PrintManager.IsSupported Method
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.
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.