Language

PdfRendererPreV.Page.UpdatePageAnnotation(Int32, PdfAnnotation) Method

Definition

Update the given PdfAnnotation to the page.

[Android.Runtime.Register("updatePageAnnotation", "(ILandroid/graphics/pdf/component/PdfAnnotation;)Z", "", ApiSince=36)]
public bool UpdatePageAnnotation(int annotationId, Android.Graphics.Pdf.Component.PdfAnnotation annotation);
[<Android.Runtime.Register("updatePageAnnotation", "(ILandroid/graphics/pdf/component/PdfAnnotation;)Z", "", ApiSince=36)>]
member this.UpdatePageAnnotation : int * Android.Graphics.Pdf.Component.PdfAnnotation -> bool

Parameters

annotationId
Int32

id corresponding to which the annotation is to be updated

annotation
PdfAnnotation

the annotation to update

Returns

true if annotation is updated, false otherwise

Attributes

Remarks

Update the given PdfAnnotation to the page.

Note: The PdfAnnotationType of the provided annotation must be the same as the original annotation being updated.

PdfRendererPreV#write needs to be called to get the updated PDF stream after calling this method. PdfRendererPreV.Page instance can be closed before calling PdfRendererPreV#write.

Java documentation for android.graphics.pdf.PdfRendererPreV.Page.updatePageAnnotation(int, android.graphics.pdf.component.PdfAnnotation).

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