语言

PageSelection 构造函数

定义

为指定页面、开始和停止选择边界以及所选文本内容创建新实例 PageSelection 。

[Android.Runtime.Register(".ctor", "(ILandroid/graphics/pdf/models/selection/SelectionBoundary;Landroid/graphics/pdf/models/selection/SelectionBoundary;Ljava/util/List;)V", "", ApiSince=35)]
public PageSelection(int page, Android.Graphics.Pdf.Models.Selection.SelectionBoundary start, Android.Graphics.Pdf.Models.Selection.SelectionBoundary stop, System.Collections.Generic.IList<Android.Graphics.Pdf.Content.PdfPageTextContent> selectedContents);
[<Android.Runtime.Register(".ctor", "(ILandroid/graphics/pdf/models/selection/SelectionBoundary;Landroid/graphics/pdf/models/selection/SelectionBoundary;Ljava/util/List;)V", "", ApiSince=35)>]
new Android.Graphics.Pdf.Models.Selection.PageSelection : int * Android.Graphics.Pdf.Models.Selection.SelectionBoundary * Android.Graphics.Pdf.Models.Selection.SelectionBoundary * System.Collections.Generic.IList<Android.Graphics.Pdf.Content.PdfPageTextContent> -> Android.Graphics.Pdf.Models.Selection.PageSelection

参数

page
Int32

所选内容的页码。

start
SelectionBoundary

选择开始的边界。

stop
SelectionBoundary

所选内容停止的边界。

selectedContents
IList<PdfPageTextContent>

所选文本内容的段列表。

属性

例外

当为负数时 page 引发。

当、start或stop为selectedContents时null引发。

注解

为指定页面、开始和停止选择边界以及所选文本内容创建新实例 PageSelection 。

Java文档android.graphics.pdf.models.selection.PageSelection.PageSelection(int, android.graphics.pdf.models.selection.SelectionBoundary, android.graphics.pdf.models.selection.SelectionBoundary, java.util.List<android.graphics.pdf.content.PdfPageTextContent>)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于