Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
Bates Stamping Question |
Post Reply |
Author | |
Ken_SF
Beginner Joined: 01 Nov 19 Location: Novato, Ca USA Status: Offline Points: 5 |
Post Options
Thanks(0)
Posted: 01 Nov 19 at 3:08PM |
Hi,
Does anyone know if there is an 'official' way to bates stamp (serialize individual pdf pages with a numeric (and possibly a prefix or suffix))?
I am trying to bates stamp some already-existing PDF documents with multiple pages. I was able to do this using the DrawText function in Quick PDF Library (function written for powerbasic is shown below). The problem I am having is that my program doesn't erase bates stamping on pages created by third party programs. My experience is, from using a few third party bates stamping programs, is that stamping with one program erases the bates stamp added with another, so they all seem to be adding serialized page numbers using the same technique and that appears to be something different than using drawtext. Here is the function I am using, in case someone needs to add something that looks like bates stamping. I did have to fiddle a bit with the location (note where I had to add 150 to the page height) to get the text to draw in the lower right hand corner of the page. It would be good to understand why that extra + 150 was needed. Thanks in advance. Ken
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Ken, additionally to NormalizePage you can use CombineContentStream in cases if you don't see your numbers. What i couldn't find is the SetMeasurementUnits (this could fix your issue?): https://www.debenu.com/docs/pdf_library_reference/SetMeasurementUnits.php Cheers and welcome here, Ingo
|
|
Cheers,
Ingo |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store