PdfRenderer.Write(ParcelFileDescriptor, Boolean) 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.
Saves the current state of the loaded PDF document to the given writable
ParcelFileDescriptor
.
[Android.Runtime.Register("write", "(Landroid/os/ParcelFileDescriptor;Z)V", "", ApiSince=35)]
public void Write (Android.OS.ParcelFileDescriptor destination, bool removePasswordProtection);
[<Android.Runtime.Register("write", "(Landroid/os/ParcelFileDescriptor;Z)V", "", ApiSince=35)>]
member this.Write : Android.OS.ParcelFileDescriptor * bool -> unit
Parameters
- destination
- ParcelFileDescriptor
The writable ParcelFileDescriptor
- removePasswordProtection
- Boolean
If true, removes password protection from the PDF before saving.
- Attributes
Remarks
Saves the current state of the loaded PDF document to the given writable ParcelFileDescriptor
. If the document is password-protected then setting removePasswordProtection
removes the protection before saving. The PDF document should already be decrypted with the correct password before writing. Useful for printing or sharing. <strong>Note:</strong> This method closes the provided file descriptor.
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.