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!
![]() |
DrawLine |
Post Reply ![]() |
Author | |
Klaus.Hentschel ![]() Beginner ![]() Joined: 08 Mar 12 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() Posted: 20 Jun 13 at 2:18PM |
Hello,
i want to put some lines on each page of a existing PDF Document to support an enveloping machine (OME Code). How i can tell the Program to Draw the Lines on Page 2, 3 ... Thank you for help Kind regards Klaus |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3530 |
![]() ![]() ![]() ![]() ![]() |
Hi Klaus!
Here's a sample about DrawText. What you have to add is first the PageCount Then starting the loop. Then the sample code with your personal positions. Then the ending loop and the save. Cheers, Ingo
|
|
![]() |
|
Klaus.Hentschel ![]() Beginner ![]() Joined: 08 Mar 12 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
Hi Ingo,
i want to add the "DrawLine" into an existing PDF File. Just in the Moment when your answer arrived I have found the "SelectPage" in the Documentation. This Command work as I want to. Another short question: it is possible to draw the line slightly thicker? Thanks for support Klaus |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3530 |
![]() ![]() ![]() ![]() ![]() |
Hi Klaus!
You can determine the font values you're using and i'm thinking that these values have influence on the line, too. If not: The easiest way is to draw the line multiple with slightly defferent Y-values: Cheers, Ingo
|
|
![]() |
|
Wheeley ![]() Senior Member ![]() ![]() Joined: 30 Oct 05 Location: United States Status: Offline Points: 146 |
![]() ![]() ![]() ![]() ![]() |
SetLineWidth should work for increasing the width of the line.
Wheeley |
|
![]() |
|
Klaus.Hentschel ![]() Beginner ![]() Joined: 08 Mar 12 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
The "SetLineWidth" do not change the LineHeight. Only to Draw the Line twice directly under the first line will double the Height, but this is very thick.
As I post it in the first message i will Draw OME Codes to support an enveloping machine. I will try both (thin and thick Lines) now. Thanks for support Kind regards Klaus |
|
![]() |
|
Klaus.Hentschel ![]() Beginner ![]() Joined: 08 Mar 12 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
Ingo you are right.
The Value of the Position of the Lines is a Floating Point Value so i can Draw the Line twice near under the first Position... Thank you for the idea Kind regards Klaus |
|
![]() |
|
AndrewC ![]() Moderator Group ![]() ![]() Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
Another option is to just draw a filled rectangle with DrawBox and floating point values. This way you control the absolute positioning of the line and its thickness.
Andrew.
|
|
![]() |
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