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 zero-based widget index in the page annotation array, which must be zero or greater.

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 FormWidgetInfo+Builder.

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