語言

PageMatchBounds(IList<RectF>, Int32) 建構函式

定義

為頁面上找到的文字匹配建立一個新的實例 PageMatchBounds 。

[Android.Runtime.Register(".ctor", "(Ljava/util/List;I)V", "", ApiSince=35)]
public PageMatchBounds(System.Collections.Generic.IList<Android.Graphics.RectF> bounds, int textStartIndex);
[<Android.Runtime.Register(".ctor", "(Ljava/util/List;I)V", "", ApiSince=35)>]
new Android.Graphics.Pdf.Models.PageMatchBounds : System.Collections.Generic.IList<Android.Graphics.RectF> * int -> Android.Graphics.Pdf.Models.PageMatchBounds

參數

bounds
IList<RectF>

文字的範圍一致。

textStartIndex
Int32

文本的起始索引匹配。

屬性

例外狀況

當 是 bounds時拋出 null 。

擲出時 bounds 為空或 textStartIndex 為負。

備註

為頁面上找到的文字匹配建立一個新的實例 PageMatchBounds 。 匹配由文字匹配的界限及字元「串流」(以 0 為基礎的索引)的起始索引表示。

Java 文件 android.graphics.pdf.models.PageMatchBounds.PageMatchBounds(java.util.List<android.graphics.RectF>, int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於