Skip to main content
Table of Contents

ITMSFNCCustomPDFLib.UnlockWithPassword Method

Unlocks a password-protected document; returns True when the password is accepted.

API unit family: TMSFNCPDFLib Declaring type: ITMSFNCCustomPDFLib

Syntax

FMX.TMSFNCPDFLib.hppPascalC++
function UnlockWithPassword(Password: String): Boolean;
virtual bool __fastcall UnlockWithPassword(System::UnicodeString Password) = 0;

Parameters

Name Description
Password Password to test against the document user or owner password.

Returns

True if the document was unlocked successfully; False if the password was incorrect.