PdfRendererPreV Constructors
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.
Overloads
| PdfRendererPreV(ParcelFileDescriptor) |
Creates a new instance of PdfRendererPreV class. |
| PdfRendererPreV(ParcelFileDescriptor, LoadParams) |
Creates a new instance of PdfRendererPreV class. |
PdfRendererPreV(ParcelFileDescriptor)
Creates a new instance of PdfRendererPreV class.
[Android.Runtime.Register(".ctor", "(Landroid/os/ParcelFileDescriptor;)V", "", ApiSince=35)]
public PdfRendererPreV(Android.OS.ParcelFileDescriptor fileDescriptor);
[<Android.Runtime.Register(".ctor", "(Landroid/os/ParcelFileDescriptor;)V", "", ApiSince=35)>]
new Android.Graphics.Pdf.PdfRendererPreV : Android.OS.ParcelFileDescriptor -> Android.Graphics.Pdf.PdfRendererPreV
Parameters
- fileDescriptor
- ParcelFileDescriptor
Seekable file descriptor to read from.
- Attributes
Remarks
Creates a new instance of PdfRendererPreV class.
<strong>Note:</strong> The provided file descriptor must be <strong>seekable</strong>, i.e. its data being randomly accessed, e.g. pointing to a file.
<strong>Note:</strong> This class takes ownership of the passed in file descriptor and is responsible for closing it when the renderer is closed.
If the file is from an untrusted source it is recommended to run the renderer in a separate, isolated process with minimal permissions to limit the impact of security exploits.
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
PdfRendererPreV(ParcelFileDescriptor, LoadParams)
Creates a new instance of PdfRendererPreV class.
[Android.Runtime.Register(".ctor", "(Landroid/os/ParcelFileDescriptor;Landroid/graphics/pdf/LoadParams;)V", "", ApiSince=35)]
public PdfRendererPreV(Android.OS.ParcelFileDescriptor fileDescriptor, Android.Graphics.Pdf.LoadParams params);
[<Android.Runtime.Register(".ctor", "(Landroid/os/ParcelFileDescriptor;Landroid/graphics/pdf/LoadParams;)V", "", ApiSince=35)>]
new Android.Graphics.Pdf.PdfRendererPreV : Android.OS.ParcelFileDescriptor * Android.Graphics.Pdf.LoadParams -> Android.Graphics.Pdf.PdfRendererPreV
Parameters
- fileDescriptor
- ParcelFileDescriptor
Seekable file descriptor to read from.
- params
- LoadParams
Instance of LoadParams specifying params for loading PDF
document.
- Attributes
Remarks
Creates a new instance of PdfRendererPreV class.
<strong>Note:</strong> The provided file descriptor must be <strong>seekable</strong>, i.e. its data being randomly accessed, e.g. pointing to a file. If the password passed in android.graphics.pdf.LoadParams is incorrect, the android.graphics.pdf.PdfRendererPreV will throw a SecurityException.
<strong>Note:</strong> This class takes ownership of the passed in file descriptor and is responsible for closing it when the renderer is closed.
If the file is from an untrusted source it is recommended to run the renderer in a separate, isolated process with minimal permissions to limit the impact of security exploits.
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.