Share via


PrintedPdfDocument コンストラクター

定義

オーバーロード

PrintedPdfDocument(Context, PrintAttributes)

新しいドキュメントを作成します。

PrintedPdfDocument(IntPtr, JniHandleOwnership)

JNI オブジェクトのマネージド表現を作成するときに使用されるコンストラクター。ランタイムによって呼び出されます。

PrintedPdfDocument(Context, PrintAttributes)

新しいドキュメントを作成します。

[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

パラメーター

context
Context

リソースにアクセスするためのコンテキスト インスタンス。

attributes
PrintAttributes

印刷属性。

属性

注釈

新しいドキュメントを作成します。

<strong>Note:</strong> : を呼び出 #close()して完了したら、ドキュメントを閉じる必要があります。

の Java ドキュメント android.print.pdf.PrintedPdfDocument.PrintedPdfDocument(android.content.Context, android.print.PrintAttributes)

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

PrintedPdfDocument(IntPtr, JniHandleOwnership)

JNI オブジェクトのマネージド表現を作成するときに使用されるコンストラクター。ランタイムによって呼び出されます。

protected PrintedPdfDocument (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Print.Pdf.PrintedPdfDocument : nativeint * Android.Runtime.JniHandleOwnership -> Android.Print.Pdf.PrintedPdfDocument

パラメーター

javaReference
IntPtr

nativeint

IntPtrJava Native Interface (JNI) オブジェクト参照を含む 。

transfer
JniHandleOwnership

処理方法を示す 。JniHandleOwnershipjavaReference

注釈

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象