Language

FormWidgetInfo.WidgetIndex Property

Definition

Returns the index of the form widget on the page.

public int WidgetIndex { [Android.Runtime.Register("getWidgetIndex", "()I", "", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getWidgetIndex", "()I", "", ApiSince=35)>]
member this.WidgetIndex : int

Property Value

The stored form widget index. Valid indices are zero-based.

Attributes

Remarks

When Android reads a widget from a PDF, the index depends on the PDF implementation. Some implementations use the widget's position in the page's annotation array. Others calculate the index from the page's nonhidden widget annotations.

Some implementations can return an index from a type-filtered query that differs from the index used for editing if an unsupported widget was filtered out earlier on the page.

The builder stores the supplied index without checking its range.

Java documentation for android.graphics.pdf.models.FormWidgetInfo.getWidgetIndex().

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