Partager via


PrintDocumentInfo.Builder(String) Constructor

Definition

Constructor.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public Builder (string name);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.Print.PrintDocumentInfo.Builder : string -> Android.Print.PrintDocumentInfo.Builder

Parameters

name
String

The document name which may be shown to the user and is the file name if the content it describes is saved as a PDF. Cannot be empty.

Attributes

Remarks

Constructor.

The values of the relevant properties are initialized with defaults. Please refer to the documentation of the individual setters for information about the default values.

Java documentation for android.print.PrintDocumentInfo.Builder.PrintDocumentInfo$Builder(java.lang.String).

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