Hello Paulo,
 The gap is ok with PdfContentByte.setLineCap(0).
 But, if I want to maintain the same gap even with other line caps also,
then what am I required to do?
 
Regards,
Ramana.JV. 

-----Original Message-----
From: Paulo Soares [mailto:[EMAIL PROTECTED] 
Sent: Saturday, June 14, 2003 4:09 AM
To: Jaladurgam, Ramana
Cc: [EMAIL PROTECTED]
Subject: Re: [iText-questions] Implementing dot-dash strokes


PdfContentByte.setLineCap(0)


----- Original Message ----- 
From: "Jaladurgam, Ramana" <[EMAIL PROTECTED]>
To: "'Paulo Soares'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, June 13, 2003 23:08
Subject: RE: [iText-questions] Implementing dot-dash strokes


> Hello Paulo,
>       PdfContentByte.setLiteral("[9 9 2 9]0 d\n"). This gives 9 units 
> of gap between lines when the stroke width is 1. But, when I increase 
> the stroke
> width to 5, I am not getting 9 units of gap as requested in literal. The
> on
> stroke is much larger than the off gap. 
>       What could be the problem?
> 
> Regards,
> Ramana.JV.
> 
> -----Original Message-----
> From: Paulo Soares [mailto:[EMAIL PROTECTED]
> Sent: Sunday, May 18, 2003 4:35 PM
> To: Jaladurgam, Ramana
> Cc: [EMAIL PROTECTED]
> Subject: Re: [iText-questions] Implementing dot-dash strokes
> 
> 
> Use something like PdfContentByte.setLiteral("[9 3 2 3]0 d\n").
> 
> Best Regards,
> Paulo Soares
> 
> ----- Original Message -----
> From: "Jaladurgam, Ramana" <[EMAIL PROTECTED]>
> To: "'Paulo Soares'" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Sunday, May 18, 2003 20:33
> Subject: RE: [iText-questions] Implementing dot-dash strokes
> 
> 
> > My problem is the stroke should be something like
> > 9pts<somegap>2pts<somegap>9pts<somegap>2pts<somegap>....
> > With PdfContentByte.setLineDash() I could achieve 
> > 9pts<somegap>9pts<somegap>....
> > 
> > 
> > Regards,
> > Ramana.JV.
> > 
> > -----Original Message-----
> > From: Paulo Soares [mailto:[EMAIL PROTECTED]
> > Sent: Friday, May 16, 2003 8:47 PM
> > To: Jaladurgam, Ramana
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [iText-questions] Implementing dot-dash strokes
> > 
> > 
> > Use PdfContentByte.setLineDash() but you already know that. So, 
> > what's
> 
> > your problem? Doesn't it work?
> > 
> > Best Regards,
> > Paulo Soares
> > 
> > ----- Original Message -----
> > From: "Jaladurgam, Ramana" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Cc: "'Paulo Soares'" <[EMAIL PROTECTED]>;
> > <[EMAIL PROTECTED]>
> > Sent: Friday, May 16, 2003 23:23
> > Subject: [iText-questions] Implementing dot-dash strokes
> > 
> > 
> > > Hello,
> > >   Any of you give me an idea of how to implement dash-dot stroke 
> > > patterns through PdfContentByte.
> > >   I am struggling on how to do this with iText.
> > >   Your help is greatly appreciated.
> > >
> > > Regards,
> > > Ramana.JV.
> > >
> > > ******************************************************************
> > > **
> > > **
> > > **
> > > ****
> > > This email may contain confidential material.
> > > If you were not an intended recipient,
> > > Please notify the sender and delete all copies.
> > > We may monitor email to and from our network.
> > >
> > ********************************************************************
> > **
> > **
> > > ****
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.net email is sponsored by: If flattening out C++ or Java
> > > code
> > > to make your application fit in a relational database is painful, 
> > > don't do it! Check out ObjectStore. Now part of Progress Software. 
> > > http://www.objectstore.net/sourceforge
> > > _______________________________________________
> > > iText-questions mailing list [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/itext-questions
> > >
> > 
> > ********************************************************************
> > **
> > **
> > **** 
> > This email may contain confidential material. 
> > If you were not an intended recipient, 
> > Please notify the sender and delete all copies. 
> > We may monitor email to and from our network. 
> >
> **********************************************************************
> **
> > ****
> > 
> 
> **********************************************************************
> **
> **** 
> This email may contain confidential material. 
> If you were not an intended recipient, 
> Please notify the sender and delete all copies. 
> We may monitor email to and from our network. 
> ************************************************************************
> ****
> 

**************************************************************************** 
This email may contain confidential material. 
If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network. 
****************************************************************************


-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to