Class SecurityOptions
Inheritance
Inherited Members
Namespace: Telerik.Pdf.Security
Assembly: TelerikData.dll
Syntax
public class SecurityOptions
Constructors
SecurityOptions()
Declaration
public SecurityOptions()
Fields
m_ownerPassword
Password that disables all security permissions
Declaration
protected char[] m_ownerPassword
Field Value
System.Char[]
|
m_permissions
Collection of flags describing permissions granted to user who opens a file with the user password.
Declaration
protected BitVector32 m_permissions
Field Value
System.Collections.Specialized.BitVector32
|
Remarks
The given initial value zero's out first two bits. The PDF specification dictates that these entries must be 0.
m_userPassword
The user password
Declaration
protected char[] m_userPassword
Field Value
System.Char[]
|
Properties
OwnerPassword
Returns the owner password as a string.
Declaration
public string OwnerPassword { get; set; }
Property Value
System.String
The default value is null |
Permissions
The document access privileges encoded in a 32-bit unsigned integer
Declaration
public int Permissions { get; set; }
Property Value
System.Int32
The default access priviliges are:
|
UserPassword
Returns the user password as a string.
Declaration
public string UserPassword { get; set; }
Property Value
System.String
The default value is null |
Methods
EnableAdding(Boolean)
Enable or disable adding and changing text notes and AcroForm fields.
Declaration
public void EnableAdding(bool enable)
Parameters
System.Boolean
enable
|
EnableChanging(Boolean)
Enable or disable changing the document other than by adding or changing text notes and AcroForm fields.
Declaration
public void EnableChanging(bool enable)
Parameters
System.Boolean
enable
|
EnableCopying(Boolean)
Enable or disable copying of text and graphics from the document.
Declaration
public void EnableCopying(bool enable)
Parameters
System.Boolean
enable
|
EnablePrinting(Boolean)
Enables or disables printing.
Declaration
public void EnablePrinting(bool enable)
Parameters
System.Boolean
enable
If true enables printing otherwise false |