UIPrinterPickerController.PresentFromRectAsync Method

Definition

Overloads

PresentFromRectAsync(CGRect, UIView, Boolean)

Asynchronously presents the picker in a popover that is anchored to in .

PresentFromRectAsync(CGRect, UIView, Boolean, Boolean)

Shows a UIPrinterPickerController from this app as a popover that is anchored to a RectangleF object contained in a UIView view, with or without animation, depending on animated, returning a task that provides the result.

PresentFromRectAsync(CGRect, UIView, Boolean)

Asynchronously presents the picker in a popover that is anchored to in .

public virtual System.Threading.Tasks.Task<UIKit.UIPrinterPickerCompletionResult> PresentFromRectAsync (CoreGraphics.CGRect rect, UIKit.UIView view, bool animated);
abstract member PresentFromRectAsync : CoreGraphics.CGRect * UIKit.UIView * bool -> System.Threading.Tasks.Task<UIKit.UIPrinterPickerCompletionResult>
override this.PresentFromRectAsync : CoreGraphics.CGRect * UIKit.UIView * bool -> System.Threading.Tasks.Task<UIKit.UIPrinterPickerCompletionResult>

Parameters

rect
CGRect
view
UIView
animated
Boolean

Returns

Task<UIPrinterPickerCompletionResult>

A task that represents the asynchronous PresentFromRect operation. The value of the TResult parameter is of type Action<UIKit.UIPrinterPickerCompletionResult>.

PresentFromRectAsync(CGRect, UIView, Boolean, Boolean)

Shows a UIPrinterPickerController from this app as a popover that is anchored to a RectangleF object contained in a UIView view, with or without animation, depending on animated, returning a task that provides the result.

public virtual System.Threading.Tasks.Task<UIKit.UIPrinterPickerCompletionResult> PresentFromRectAsync (CoreGraphics.CGRect rect, UIKit.UIView view, bool animated, out bool result);
abstract member PresentFromRectAsync : CoreGraphics.CGRect * UIKit.UIView * bool *  -> System.Threading.Tasks.Task<UIKit.UIPrinterPickerCompletionResult>
override this.PresentFromRectAsync : CoreGraphics.CGRect * UIKit.UIView * bool *  -> System.Threading.Tasks.Task<UIKit.UIPrinterPickerCompletionResult>

Parameters

rect
CGRect

The rectangle, in view's coordinate space, to which to anchor the popover.

view
UIView

The view in whose coordinate space rect is specified.

animated
Boolean

Whether to animate the display of the picker.

result
Boolean

Returns

Task<UIPrinterPickerCompletionResult>

Applies to