Print Page | Close Window

How To Draw Dotted Line?

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3685
Printed Date: 28 Apr 24 at 10:49AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: How To Draw Dotted Line?
Posted By: SalmaBegum
Subject: How To Draw Dotted Line?
Date Posted: 19 Mar 19 at 6:06AM
Greetings sir,
i need to draw dotted line in some cased instead of solid lines, how can i draw dotted line?

i can't seems to find any related nor the "dotted" word in whole documentation pdf file.

thanks in advance

best regards



Replies:
Posted By: tfrost
Date Posted: 19 Mar 19 at 10:15AM
Look at the description of SetLineDash in the documentation.


Posted By: SalmaBegum
Date Posted: 19 Mar 19 at 2:06PM
Originally posted by tfrost tfrost wrote:

Look at the description of SetLineDash in the documentation.


any example will help me a lot,

i tried to set value (1, 1), (.5, .5).. and few more but none of them works :(, i mean it still print solid lines.

thanks in advance

best regards


Posted By: tfrost
Date Posted: 19 Mar 19 at 4:52PM
Sorry, I have not used this function myself; I just happened to know it was in the library!  You should be able to add this experimentally in the Vector Graphics example in the Foxit Dashboard program, to see its effect.


Posted By: Ingo
Date Posted: 19 Mar 19 at 5:31PM
i would expect that values from 0 (=solid) up to 0.9 will work?



-------------
Cheers,
Ingo



Posted By: Ingo
Date Posted: 19 Mar 19 at 5:33PM
here's a sample i've found in another thread:
//...
FPDF.SetLineWidth(0.5);
FPDF.SetLineColorCMYK(0,0,0,0.5);
FPDF.SetLineDash(0.5,0.5);
FPDF.SetLineJoin(1);
//...



-------------
Cheers,
Ingo




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk