Share via


PdfDocument.GetSelection Method

Definition

Overloads

Name Description
GetSelection(PdfPage, CGPoint, PdfPage, CGPoint, PdfSelectionGranularity)
GetSelection(PdfPage, CGPoint, PdfPage, CGPoint)

Returns a selection for the region that is described by the specified parameters.

GetSelection(PdfPage, IntPtr, PdfPage, IntPtr)

Returns a selection for the region that is described by the specified parameters.

GetSelection(PdfPage, CGPoint, PdfPage, CGPoint, PdfSelectionGranularity)

[Foundation.Export("selectionFromPage:atPoint:toPage:atPoint:withGranularity:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual PdfKit.PdfSelection? GetSelection(PdfKit.PdfPage startPage, CoreGraphics.CGPoint startPoint, PdfKit.PdfPage endPage, CoreGraphics.CGPoint endPoint, PdfKit.PdfSelectionGranularity granularity);
[<Foundation.Export("selectionFromPage:atPoint:toPage:atPoint:withGranularity:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetSelection : PdfKit.PdfPage * CoreGraphics.CGPoint * PdfKit.PdfPage * CoreGraphics.CGPoint * PdfKit.PdfSelectionGranularity -> PdfKit.PdfSelection
override this.GetSelection : PdfKit.PdfPage * CoreGraphics.CGPoint * PdfKit.PdfPage * CoreGraphics.CGPoint * PdfKit.PdfSelectionGranularity -> PdfKit.PdfSelection

Parameters

startPage
PdfPage
startPoint
CGPoint
endPage
PdfPage
endPoint
CGPoint

Returns

Attributes

Applies to

GetSelection(PdfPage, CGPoint, PdfPage, CGPoint)

Returns a selection for the region that is described by the specified parameters.

[Foundation.Export("selectionFromPage:atPoint:toPage:atPoint:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual PdfKit.PdfSelection? GetSelection(PdfKit.PdfPage startPage, CoreGraphics.CGPoint startPoint, PdfKit.PdfPage endPage, CoreGraphics.CGPoint endPoint);
[<Foundation.Export("selectionFromPage:atPoint:toPage:atPoint:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetSelection : PdfKit.PdfPage * CoreGraphics.CGPoint * PdfKit.PdfPage * CoreGraphics.CGPoint -> PdfKit.PdfSelection
override this.GetSelection : PdfKit.PdfPage * CoreGraphics.CGPoint * PdfKit.PdfPage * CoreGraphics.CGPoint -> PdfKit.PdfSelection

Parameters

startPage
PdfPage

The page at the start of the selection.

startPoint
CGPoint

The point on the page at the start of the selection.

endPage
PdfPage

The page at the end of the selection.

endPoint
CGPoint

The point on the page at the end of the selection.

Returns

Attributes

Applies to

GetSelection(PdfPage, IntPtr, PdfPage, IntPtr)

Returns a selection for the region that is described by the specified parameters.

[Foundation.Export("selectionFromPage:atCharacterIndex:toPage:atCharacterIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual PdfKit.PdfSelection? GetSelection(PdfKit.PdfPage startPage, IntPtr startCharIndex, PdfKit.PdfPage endPage, IntPtr endCharIndex);
[<Foundation.Export("selectionFromPage:atCharacterIndex:toPage:atCharacterIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetSelection : PdfKit.PdfPage * nativeint * PdfKit.PdfPage * nativeint -> PdfKit.PdfSelection
override this.GetSelection : PdfKit.PdfPage * nativeint * PdfKit.PdfPage * nativeint -> PdfKit.PdfSelection

Parameters

startPage
PdfPage

The page at the start of the selection.

startCharIndex
IntPtr

nativeint

The character index on the start page for the start of the selection.

endPage
PdfPage

The page at the end of the selection.

endCharIndex
IntPtr

nativeint

The character index on the end page for the end of the selection.

Returns

Attributes

Applies to