aspose file tools*
The moose likes Java in General and the fly likes set the position of digital signature Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "set the position of digital signature" Watch "set the position of digital signature" New topic
Author

set the position of digital signature

rakhi sinha
Ranch Hand

Joined: Mar 26, 2012
Posts: 147
I am using following code to create digitally signed pdf but signature is being displayed in left upper side .how to set the position of digital signature at a particular position.......


Manish Sridharan
Ranch Hand

Joined: Jul 19, 2005
Posts: 64
Honestly speaking I know nothing about digital signature related APIs. however, i give it a glance on your code and saw at Line 43 , location of the signature are set. perhaps you can modify that as per your requirement.

Thanks,


Manish S.
rakhi sinha
Ranch Hand

Joined: Mar 26, 2012
Posts: 147
Manish Sridharan wrote:Honestly speaking I know nothing about digital signature related APIs. however, i give it a glance on your code and saw at Line 43 , location of the signature are set. perhaps you can modify that as per your requirement.

Thanks,

thanks for your reply.... I have changed the code given in line 43 but only size is changing .....
Manish Sridharan
Ranch Hand

Joined: Jul 19, 2005
Posts: 64
Are you sure you have changed the coordinates correctly ? try to set extreme coordinates like (10,20,0,0) . Have a look on Rectangle API in java.

Perhaps following links might help you.
1. Link_1
2. Link_2
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: set the position of digital signature