次の方法で共有


PdfDocument.GetSelection メソッド

定義

オーバーロード

GetSelection(PdfPage, CGPoint, PdfPage, CGPoint)

指定したパラメーターで記述されている領域の選択範囲を返します。

GetSelection(PdfPage, nint, PdfPage, nint)

指定したパラメーターで記述されている領域の選択範囲を返します。

GetSelection(PdfPage, CGPoint, PdfPage, CGPoint)

指定したパラメーターで記述されている領域の選択範囲を返します。

[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

パラメーター

startPage
PdfPage

選択範囲の先頭にあるページ。

startPoint
CGPoint

選択範囲の先頭にあるページ上のポイント。

endPage
PdfPage

選択範囲の最後にあるページ。

endPoint
CGPoint

選択範囲の最後にあるページ上のポイント。

戻り値

属性

適用対象

GetSelection(PdfPage, nint, PdfPage, nint)

指定したパラメーターで記述されている領域の選択範囲を返します。

[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

パラメーター

startPage
PdfPage

選択範囲の先頭にあるページ。

startCharIndex
System.System.IntPtr System.nativeint

選択範囲の開始位置の開始ページの文字インデックス。

endPage
PdfPage

選択範囲の最後にあるページ。

endCharIndex
System.System.IntPtr System.nativeint

選択範囲の末尾の終了ページの文字インデックス。

戻り値

属性

適用対象