PrintedPdfDocument 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
PrintedPdfDocument(Context, PrintAttributes) |
Creates a new document. |
PrintedPdfDocument(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
PrintedPdfDocument(Context, PrintAttributes)
Creates a new document.
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/print/PrintAttributes;)V", "")]
public PrintedPdfDocument (Android.Content.Context context, Android.Print.PrintAttributes attributes);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/print/PrintAttributes;)V", "")>]
new Android.Print.Pdf.PrintedPdfDocument : Android.Content.Context * Android.Print.PrintAttributes -> Android.Print.Pdf.PrintedPdfDocument
Parameters
- context
- Context
Context instance for accessing resources.
- attributes
- PrintAttributes
The print attributes.
- Attributes
Remarks
Creates a new document.
<strong>Note:</strong> You must close the document after you are done by calling #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
PrintedPdfDocument(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected PrintedPdfDocument (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Print.Pdf.PrintedPdfDocument : nativeint * Android.Runtime.JniHandleOwnership -> Android.Print.Pdf.PrintedPdfDocument
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
Remarks
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.