語言

FormWidgetInfo.Builder(Int32, Int32, Rect, String, String) 建構函式

定義

建立一個 PDF 表單小工具的建構器。

[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

參數

widgetType
Int32

小工具類型為:Unknown、、PushButtonCheckBox、RadioButtonComboBox、ListBoxTextField或。Signature

widgetIndex
Int32

頁面註解陣列中以零為基礎的小工具索引,必須為零或以上。

widgetRect
Rect

該元件在頁面座標中所佔據的非空矩形。

textValue
String

小工具的非空文字值。

accessibilityLabel
String

該欄位的非空可及性標籤。

屬性

例外狀況

當 widgetRect、 textValue或 accessibilityLabel 是 null時拋出。

備註

建構子需要非空元件界限、文字及可及性標籤。

的 FormWidgetInfo+BuilderJava 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於