PDF Security settings

Technical support for Spire.Doc

Moderator: iceblue support

PDF Security settings

Postby markowens » Sun May 15, 2011 9:31 pm

Hi,

In your namespace 'Spire.PDF.Security' you have an enumeration 'PdfPermissionFlags'.

When converting a docx file to PDF through Spire.Doc, is there any way of applying this so that you can set the individual security permissions such as printing, copy information etc? If so can this be achieved without a password having to be entered to open the pdf?

Thanks,

Mark.
markowens
 
Posts: 24
Joined: Mon Mar 14, 2011 3:20 pm

Re: PDF Security settings

Postby Justin Weng » Mon May 16, 2011 2:36 am

Dear markowens,
Thanks for your inqury.
Actually,you can only set PdfPermissionFlags without others .
Like this:
Code: Select all
doc.Security.Permissions = PdfPermissionsFlags.Print | PdfPermissionsFlags.CopyContent;
Justin
Technical Support / Developer,
e-iceblue Support Team
User avatar
Justin Weng
 
Posts: 110
Joined: Mon Mar 28, 2011 5:54 am

Re: PDF Security settings

Postby markowens » Mon May 16, 2011 8:28 am

Hi Justin,

But I cannot see 'Security' in the 'Spire.Doc' namespace?

Thanks, Mark.
markowens
 
Posts: 24
Joined: Mon Mar 14, 2011 3:20 pm

Re: PDF Security settings

Postby Justin Weng » Tue May 17, 2011 2:17 am

Sorry markowens !It's not supported in Spire Doc.
Justin
Technical Support / Developer,
e-iceblue Support Team
User avatar
Justin Weng
 
Posts: 110
Joined: Mon Mar 28, 2011 5:54 am


Return to Spire.Doc

Who is online

Users browsing this forum: No registered users and 0 guests