UIPrintInteractionController.PrintToPrinter 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.
Prints directly to a specified printer.
[Foundation.Export("printToPrinter:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool PrintToPrinter (UIKit.UIPrinter printer, UIKit.UIPrintInteractionCompletionHandler completion);
abstract member PrintToPrinter : UIKit.UIPrinter * UIKit.UIPrintInteractionCompletionHandler -> bool
override this.PrintToPrinter : UIKit.UIPrinter * UIKit.UIPrintInteractionCompletionHandler -> bool
Parameters
- printer
- UIPrinter
Specified printer.
- completion
- UIPrintInteractionCompletionHandler
Implemented to handle the conclusion of a print job and to handle any errors encountered in printing.
Returns
true
if printing was successful or false
if there was a problem
- Attributes