LEADTOOLS Forms (Leadtools.Forms.DocumentWriters assembly)
LEAD Technologies, Inc

OwnerPassword Property






Gets or sets the owner password value to be used in the resulting PDF document. .NET support
Syntax
public string OwnerPassword {get; set;}
'Declaration
 
Public Property OwnerPassword As String
'Usage
 
Dim instance As PdfDocumentOptions
Dim value As String
 
instance.OwnerPassword = value
 
value = instance.OwnerPassword
public string OwnerPassword {get; set;}
 get_OwnerPassword();
set_OwnerPassword(value);
public:
property String^ OwnerPassword {
   String^ get();
   void set (    String^ value);
}

Property Value

A System.String that contains the user password value to be used. To reset the owner password, use either an empty string or a null reference (Nothing in Visual Basic)
Remarks

The owner password is used by PDF viewers to grant or deny editing the PDF document. For more information, refer to the Protected property.

The OwnerPassword property is only used when the Protected property is set to true.

Note that OwnerPassword is not supported when DocumentType is PdfDocumentType.PdfA.

Example
For an example, refer to PdfDocumentOptions.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PdfDocumentOptions Class
PdfDocumentOptions Members
DocumentWriter Class
Programming with LEADTOOLS Document Writers
Files to be Included with Your Application
Unlocking Special LEAD Features

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Forms.DocumentWriters requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features