Click or drag to resize

PDFDocInitSecurityHandler Method

Initializes document's SecurityHandler. This version of InitSecurityHandler() works with Standard and Custom PDF security and can be used in situations where the password is obtained dynamically via user feedback. See EncTest sample for example code. This function should be called immediately after an encrypted document is opened. The function does not have any side effects on documents that are not encrypted. If the security handler was successfully initialized it can be later obtained using GetSecurityHandler() method.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public bool InitSecurityHandler()

Return Value

Type: Boolean
true if the SecurityHandler was successfully initialized (this may include authentication data collection, verification etc.), false otherwise.
See Also