FormWidgetInfo.Builder.SetMaxLength(Int32) Method
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.
Sets the maximum text length supported by the widget.
[Android.Runtime.Register("setMaxLength", "(I)Landroid/graphics/pdf/models/FormWidgetInfo$Builder;", "", ApiSince=35)]
public Android.Graphics.Pdf.Models.FormWidgetInfo.Builder SetMaxLength(int maxLength);
[<Android.Runtime.Register("setMaxLength", "(I)Landroid/graphics/pdf/models/FormWidgetInfo$Builder;", "", ApiSince=35)>]
member this.SetMaxLength : int -> Android.Graphics.Pdf.Models.FormWidgetInfo.Builder
Parameters
- maxLength
- Int32
The maximum number of characters supported by a text input widget.
Returns
This builder.
- Attributes
Exceptions
Thrown when this widget is not a text field, or when maxLength is negative.
Remarks
This setting is supported only for text fields. The maximum length must be zero or greater.
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.