Share via


PdfView.GetPage(CGPoint, Boolean) Method

Definition

Returns the page for the point, or the nearest page if nearest is true.

[Foundation.Export("pageForPoint:nearest:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual PdfKit.PdfPage? GetPage(CoreGraphics.CGPoint point, bool nearest);
[<Foundation.Export("pageForPoint:nearest:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetPage : CoreGraphics.CGPoint * bool -> PdfKit.PdfPage
override this.GetPage : CoreGraphics.CGPoint * bool -> PdfKit.PdfPage

Parameters

point
CGPoint

The point for which to return a page.

nearest
Boolean

Whether to return the nearest page if the point is not on a page.

Returns

Attributes

Applies to