PrintedPdfDocument Constructors

Definition

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().

Java documentation for android.print.pdf.PrintedPdfDocument.PrintedPdfDocument(android.content.Context, android.print.PrintAttributes).

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

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

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.

Applies to