Enables or disables the “Prompt the user for password” option. When the “Prompt the user for password” option is turned on, the printer driver shows a dialog during printing where the password can be specified for encrypting the document.
SetPdfPromptForPassword (pBlackIceDEVMODE As Long, bEnable As Boolean) As Boolean
Input value pBlackIceDEVMODE |
- pointer to the BlackIceDEVMODE structure. |
Input value bEnable |
- Set to TRUE to enable the “Prompt the user for password” option, or set to FALSE to disable it. |
Return value |
- TRUE on success, otherwise FALSE. |
NOTE: For 32-bit applications, use pBlackIceDEVMODE as Integer, instead of Long.