EldoS | Feel safer!

Software components for data protection, secure storage and transfer

How to use TElPDFPermissions

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
Posted: 06/08/2012 09:53:50
by Marcelo Vargas (Standard support level)
Joined: 06/06/2012
Posts: 21

I woud like know how to use the TElPDFPermissions class when I sign a PDF.
Posted: 06/08/2012 10:23:33
by Ken Ivanov (EldoS Corp.)

Thank you for contacting us.

This property is not applicable for signing operation. Normally it is used when encrypting the document to specify what operations viewers are allowed to do with the document.
Posted: 06/08/2012 10:41:00
by Marcelo Vargas (Standard support level)
Joined: 06/06/2012
Posts: 21

That's right, I want to change the permissions of the document before signing it to allow printing only could show me how to use this class
Posted: 06/08/2012 10:55:39
by Ken Ivanov (EldoS Corp.)

To adjust permissions in the above way, you would need to configure the permissions object of the TElPDFPasswordSecurityHandler or TElPDFPublicKeyRecipientGroup object (depending on type of encryption you intend to use) in the following way:

Handler.Permissions.LowQualityPrint = true;
Handler.Permissions.HighQualityPrint = true;

Please note that you will need to sign and encrypt the document in one pass using the SignAndEncrypt() method for the specified permissions to take effect.



Topic viewed 704 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!