SelectionBoundary Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| SelectionBoundary(Point) |
Create a new instance of |
| SelectionBoundary(Int32) |
Create a new instance of |
SelectionBoundary(Point)
Create a new instance of SelectionBoundary if the boundary Point is known.
[Android.Runtime.Register(".ctor", "(Landroid/graphics/Point;)V", "", ApiSince=35)]
public SelectionBoundary(Android.Graphics.Point point);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/Point;)V", "", ApiSince=35)>]
new Android.Graphics.Pdf.Models.Selection.SelectionBoundary : Android.Graphics.Point -> Android.Graphics.Pdf.Models.Selection.SelectionBoundary
Parameters
- point
- Point
The non-null point of the selection boundary.
- Attributes
Exceptions
Thrown when point is null.
Remarks
Create a new instance of SelectionBoundary if the boundary Point is known. Index defaults to -1.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
SelectionBoundary(Int32)
Create a new instance of SelectionBoundary if index of boundary is known.
[Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=35)]
public SelectionBoundary(int index);
[<Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=35)>]
new Android.Graphics.Pdf.Models.Selection.SelectionBoundary : int -> Android.Graphics.Pdf.Models.Selection.SelectionBoundary
Parameters
- index
- Int32
The zero-based index of the selection boundary, which must be zero or greater.
- Attributes
Exceptions
Thrown when index is negative.
Remarks
Create a new instance of SelectionBoundary if index of boundary is known. The text returned by PdfPageTextContent#getText() form a "stream" and inside this "stream" each character has an index. <strong>Note: </strong>Point defaults to null in this case.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.