UIPrintInteractionController.CanPrint Method

Definition

Overloads

CanPrint(NSData)

Determines if the data stored in the NSData can be printed.

CanPrint(NSUrl)

Whether printing is available.

CanPrint(NSData)

Determines if the data stored in the NSData can be printed.

[Foundation.Export("canPrintData:")]
public static bool CanPrint (Foundation.NSData data);
static member CanPrint : Foundation.NSData -> bool

Parameters

data
NSData

Data to probe.

Returns

Returns true if UIKit can print, otherwise returns false.

Attributes

Applies to

CanPrint(NSUrl)

Whether printing is available.

[Foundation.Export("canPrintURL:")]
public static bool CanPrint (Foundation.NSUrl url);
static member CanPrint : Foundation.NSUrl -> bool

Parameters

url
NSUrl

Represents a URL. The file referenced by the URL needs to contain PDF data or an image in a format that is supported by the Image I/O framework.

Returns

Returns true if UIKit can print, otherwise returns false.

Attributes

Applies to