Language

FormWidgetInfo.Builder(Int32, Int32, Rect, String, String) Constructor

Definition

Creates a builder for a PDF form widget.

[Android.Runtime.Register(".ctor", "(IILandroid/graphics/Rect;Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=35)]
public Builder(int widgetType, int widgetIndex, Android.Graphics.Rect widgetRect, string textValue, string accessibilityLabel);
[<Android.Runtime.Register(".ctor", "(IILandroid/graphics/Rect;Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=35)>]
new Android.Graphics.Pdf.Models.FormWidgetInfo.Builder : int * int * Android.Graphics.Rect * string * string -> Android.Graphics.Pdf.Models.FormWidgetInfo.Builder

Parameters

widgetIndex
Int32

The form widget's zero-based index on the page. Use a value of zero or greater; the constructor does not check the range.

widgetRect
Rect

The non-null rectangle occupied by the widget in page coordinates.

textValue
String

The non-null text value of the widget.

accessibilityLabel
String

The non-null accessibility label of the field.

Attributes

Exceptions

Thrown when widgetRect, textValue, or accessibilityLabel is null.

Remarks

The constructor requires non-null widget bounds, text, and accessibility label.

Java documentation for android.graphics.pdf.models.FormWidgetInfo.Builder.FormWidgetInfo$Builder(int, int, android.graphics.Rect, java.lang.String, java.lang.String).

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