다음을 통해 공유


PdfRenderer.Page.ApplyEdit(FormEditRecord) Method

Definition

Applies a FormEditRecord to the PDF.

[Android.Runtime.Register("applyEdit", "(Landroid/graphics/pdf/models/FormEditRecord;)Ljava/util/List;", "", ApiSince=35)]
public System.Collections.Generic.IList<Android.Graphics.Rect> ApplyEdit (Android.Graphics.Pdf.Models.FormEditRecord editRecord);
[<Android.Runtime.Register("applyEdit", "(Landroid/graphics/pdf/models/FormEditRecord;)Ljava/util/List;", "", ApiSince=35)>]
member this.ApplyEdit : Android.Graphics.Pdf.Models.FormEditRecord -> System.Collections.Generic.IList<Android.Graphics.Rect>

Parameters

editRecord
FormEditRecord

the FormEditRecord to be applied

Returns

Rectangular areas of the page bitmap that have been invalidated by this action.

Attributes

Remarks

Applies a FormEditRecord to the PDF.

Apps must call #render(Bitmap, Rect, Matrix, RenderParams) to render new bitmaps for the corresponding areas of the page.

For click type FormEditRecords, performs a click on FormEditRecord#getClickPoint()

For set text type FormEditRecords, sets the text value of the form widget.

For set indices type FormEditRecords, sets the FormEditRecord#getSelectedIndices() as selected and all others as unselected for the form widget indicated by the record.

Java documentation for android.graphics.pdf.PdfRenderer.Page.applyEdit(android.graphics.pdf.models.FormEditRecord).

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