共用方式為


UIPrinterPickerController.PresentFromRectAsync 方法

定義

多載

PresentFromRectAsync(CGRect, UIView, Boolean)

以非同步方式在 錨定于 的快顯中呈現選擇器。

PresentFromRectAsync(CGRect, UIView, Boolean, Boolean)

UIPrinterPickerController根據 傳回提供結果的工作, animated 從這個應用程式顯示為錨定至 RectangleF 檢視中包含的 UIView 物件快顯。

PresentFromRectAsync(CGRect, UIView, Boolean)

以非同步方式在 錨定于 的快顯中呈現選擇器。

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>

參數

rect
CGRect
view
UIView
animated
Boolean

傳回

表示非同步 PresentFromRect 作業的工作。 TResult 參數的值的類型 Action<UIKit.UIPrinterPickerCompletionResult> 為 。

適用於

PresentFromRectAsync(CGRect, UIView, Boolean, Boolean)

UIPrinterPickerController根據 傳回提供結果的工作, animated 從這個應用程式顯示為錨定至 RectangleF 檢視中包含的 UIView 物件快顯。

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>

參數

rect
CGRect

矩形,位於 view 的座標空間中,要錨定快顯的位置。

view
UIView

中指定座標空間 rect 的檢視。

animated
Boolean

是否要以動畫顯示選擇器。

result
Boolean

傳回

適用於