語言

PrintedPdfDocument 建構函式

定義

多載

名稱 Description
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

列印屬性。

屬性

備註

建立新的檔。

<強力>註:</強> 完成後必須透過電話 #close()關閉該文件。

Java 文件 android.print.pdf.PrintedPdfDocument.PrintedPdfDocument(android.content.Context, android.print.PrintAttributes)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

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

IntPtrA 包含一個 Java 原生介面(JNI)物件參考。

transfer
JniHandleOwnership

JniHandleOwnershipA 指示如何處理javaReference

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於