PdfDocument.GetSelection Method

Definition

Overloads

GetSelection(PdfPage, CGPoint, PdfPage, CGPoint)

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

GetSelection(PdfPage, nint, PdfPage, nint)

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

GetSelection(PdfPage, CGPoint, PdfPage, CGPoint)

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

[Foundation.Export("selectionFromPage:atPoint:toPage:atPoint:")]
public virtual PdfKit.PdfSelection GetSelection (PdfKit.PdfPage startPage, CoreGraphics.CGPoint startPoint, PdfKit.PdfPage endPage, CoreGraphics.CGPoint endPoint);
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, nint, PdfPage, nint)

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

[Foundation.Export("selectionFromPage:atCharacterIndex:toPage:atCharacterIndex:")]
public virtual PdfKit.PdfSelection GetSelection (PdfKit.PdfPage startPage, nint startCharIndex, PdfKit.PdfPage endPage, nint endCharIndex);
abstract member GetSelection : PdfKit.PdfPage * nint * PdfKit.PdfPage * nint -> PdfKit.PdfSelection
override this.GetSelection : PdfKit.PdfPage * nint * PdfKit.PdfPage * nint -> PdfKit.PdfSelection

Parameters

startPage
PdfPage

The page at the start of the selection.

startCharIndex
System.System.IntPtr System.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
System.System.IntPtr System.nativeint

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

Returns

Attributes

Applies to