EldoS | Feel safer!

Software components for data protection, secure storage and transfer

PageInfos are incorrect

Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.
#20507
Posted: 06/19/2012 05:01:42
by bruno jeanjot (Standard support level)
Joined: 06/19/2012
Posts: 11

On some pdf documents in landscape format, the returned PageInfos (Height and Width) are incorrect.

It seems that the document is 'seen' as being in portrait format.

Moreover, the signature stamp (autopos = true) is position at the lower right corner and is rotated 90° (confirming the portrait interpretation)
#20535
Posted: 06/19/2012 18:08:40
by Dmytro Bogatskyy (EldoS Corp.)

Thank you for contacting us.

The height and width should be correct, but you need to take into account a Rotate property of the page info.
To compensate page rotation you'll need to add a following code:
Code
PDFDocument.Signatures[SignatureIndex].WidgetProps.Rotate := -PDFDocument.PageInfos[PageIndex].Rotate;
#20539
Posted: 06/20/2012 01:52:52
by bruno jeanjot (Standard support level)
Joined: 06/19/2012
Posts: 11

I already search for such a property but the Rotate property does not exist on WidgetProps nor on PagesInfos.

I am using SBB 6 (in VB)
#20543
Posted: 06/20/2012 03:05:26
by Dmytro Bogatskyy (EldoS Corp.)

Do you use VB or VB.NET?
According to our logs those properties was added in version 6.0.133.
#20545
Posted: 06/20/2012 03:48:58
by bruno jeanjot (Standard support level)
Joined: 06/19/2012
Posts: 11

I am using VB
How can I check the exact version number?
#20546
Posted: 06/20/2012 04:00:57
by bruno jeanjot (Standard support level)
Joined: 06/19/2012
Posts: 11

After some advise from another collegue it appears that I am effectively using VB.NET.

Sorry for confusion...
#20547
Posted: 06/20/2012 04:03:54
by bruno jeanjot (Standard support level)
Joined: 06/19/2012
Posts: 11

I am using SecureBlackbox.PDF version 5.2.0.124
#20548
Posted: 06/20/2012 04:18:39
by Dmytro Bogatskyy (EldoS Corp.)

In this case, the only possibility is to use version 6 (our records indicate that you have a license for it) or the newest version.
#20555
Posted: 06/20/2012 08:02:20
by bruno jeanjot (Standard support level)
Joined: 06/19/2012
Posts: 11

I have installed version 6 and all is ok now... :-))))

Thanks a lot for your support
Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.

Reply

Statistics

Topic viewed 731 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!