PdfDocument.Close Method

Definition

Closes this document.

[Android.Runtime.Register("close", "()V", "GetCloseHandler")]
public virtual void Close ();
[<Android.Runtime.Register("close", "()V", "GetCloseHandler")>]
abstract member Close : unit -> unit
override this.Close : unit -> unit
Attributes

Remarks

Closes this document. This method should be called after you are done working with the document. After this call the document is considered closed and none of its methods should be called.

<strong>Note:</strong> Do not call this method if the page returned by #startPage(PageInfo) is not finished by calling #finishPage(Page).

Java documentation for android.graphics.pdf.PdfDocument.close().

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