55
activePDF Toolkit Professional Edition
aptkl4a 30405
Copyright 2005, activePDF, Inc. All Rights Reserved.
Page 192 of 553
SetOutputSecurity128
Description
Sets 128-bit security for the output file.
NOTE:
SetOutputSecurity128 must be called before calling OpenOutputFile. You must have
Strong
Encryption
.
Return type
None
Syntax
object.
SetOutputSecurity128
UserPassword, OwnerPassword, CanPrint, CanEdit, CanCopy,
CanModify,CanFillInFormFields, CanMakeAccessible, CanAssemble, CanReproduce
The SetOutputSecurity128 method has these required parts:
Part
Value Type
Description
Object
An expression of the Toolkit object
UserPassword
String
Case-sensitive password required to view document.
The maximum length for the password is 32 characters
and cannot contain control characters. Once the password
is set, it cannot be changed. (If you are using the
evaluation version of activePDF Toolkit, the prefix DEMO
will be inserted before your password characters and
count towards the 32-character maximum. For example,
the password TEST will be DEMOTEST.)
OwnerPassword
String
Case-sensitive password required to modify or print
document.
The maximum length for the password is 32 characters
and cannot contain control characters. The password will
default to the UserPassword if left blank. Once the
password is set, it cannot be changed. (If you are using
the evaluation version of activePDF Toolkit, the prefix
DEMO will be inserted before your password characters
and count towards the 32-character maximum. For
example, the password TEST will be DEMOTEST.)
CanPrint
Long
Set to 1 to enable printing.
Set to 0 to disable printing.
CanEdit
Long
Set to 1 to enable editing.
Set to 0 to disable editing.