语言

PdfRenderer.Page.RemovePageAnnotation(Int32) 方法

定义

删除具有指定 ID 的批注。

[Android.Runtime.Register("removePageAnnotation", "(I)V", "", ApiSince=36)]
public void RemovePageAnnotation(int annotationId);
[<Android.Runtime.Register("removePageAnnotation", "(I)V", "", ApiSince=36)>]
member this.RemovePageAnnotation : int -> unit

参数

annotationId
Int32

要从页面中删除的批注的 ID

特性

注解

删除具有指定 ID 的批注。

Write(ParcelFileDescriptor, Boolean) 调用此方法后需要调用才能获取更新的 PDF 流。 PdfRenderer.Page在调用Write(ParcelFileDescriptor, Boolean)之前,可以关闭实例。

Java文档android.graphics.pdf.PdfRenderer.Page.removePageAnnotation(int)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于