Dil

LoadParams.Builder.SetPassword(String) Method

Definition

Sets the optional password for a protected PDF document.

[Android.Runtime.Register("setPassword", "(Ljava/lang/String;)Landroid/graphics/pdf/LoadParams$Builder;", "", ApiSince=35)]
public Android.Graphics.Pdf.LoadParams.Builder SetPassword(string? password);
[<Android.Runtime.Register("setPassword", "(Ljava/lang/String;)Landroid/graphics/pdf/LoadParams$Builder;", "", ApiSince=35)>]
member this.SetPassword : string -> Android.Graphics.Pdf.LoadParams.Builder

Parameters

password
String

Password for the protected PDF document. This value may be null.

Returns

Attributes

Remarks

Sets the optional password for a protected PDF document. A null value will be treated as no password supplied or document is unprotected.

Android reference for android.graphics.pdf.LoadParams.Builder.setPassword.

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