語言

PdfRendererPreV.Page.UpdatePageAnnotation(Int32, PdfAnnotation) 方法

定義

更新頁面內容 PdfAnnotation 。

[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

參數

annotationId
Int32

對應註解要更新的 id

annotation
PdfAnnotation

註解以更新

傳回

true表示註解更新,否則為false

屬性

備註

更新頁面內容 PdfAnnotation 。

注意: PdfAnnotationType 所提供的註解必須與被更新的原始註解相同。

PdfRendererPreV#write 需要呼叫才能在呼叫此方法後取得更新的 PDF 串流。 PdfRendererPreV.Page 實例可在呼叫 PdfRendererPreV#write前關閉。

的 android.graphics.pdf.PdfRendererPreV.Page.updatePageAnnotation(int, android.graphics.pdf.component.PdfAnnotation)Java 檔。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於