Język

FormWidgetInfo.Builder.SetFontSize(Single) Method

Definition

Sets the font size for text input.

[Android.Runtime.Register("setFontSize", "(F)Landroid/graphics/pdf/models/FormWidgetInfo$Builder;", "", ApiSince=35)]
public Android.Graphics.Pdf.Models.FormWidgetInfo.Builder SetFontSize(float fontSize);
[<Android.Runtime.Register("setFontSize", "(F)Landroid/graphics/pdf/models/FormWidgetInfo$Builder;", "", ApiSince=35)>]
member this.SetFontSize : single -> Android.Graphics.Pdf.Models.FormWidgetInfo.Builder

Parameters

fontSize
Single

The text-input font size in pixels.

Returns

This builder.

Attributes

Exceptions

Thrown when this widget is not a combo box or text field, or when fontSize is negative.

Remarks

This setting is supported only for combo boxes and text fields. The font size 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.

Applies to