PdfRendererPreV.Page.UpdatePageAnnotation(Int32, PdfAnnotation) 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.
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.
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.