PdfRenderer.Page.UpdatePageAnnotation(Int32, PdfAnnotation) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
更新頁面內容 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 所提供的註解必須與被更新的原始註解相同。
PdfRenderer#write 需要呼叫才能在呼叫此方法後取得更新的 PDF 串流。
PdfRenderer.Page 實例可在呼叫 PdfRenderer#write前關閉。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。