iText can't process/print dwg files. What you want to do may or may not
be possible depending on the pdf. If you can, post one of those pdf for
inspection.

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Vineet Reynolds
> Sent: Wednesday, December 21, 2005 9:11 AM
> To: dark
> Cc: itext-questions@lists.sourceforge.net
> Subject: Re: [iText-questions] Is it possible to change line 
> properties of existing PDF using iText?
> 
> If I'm not wrong, it is easier ( and better ) to make an 
> in-memory copy of the dwg file, make changes to the line 
> properties there, and then print to PDF using iText. That is 
> way better than searching for line properties in a PS or PDF 
> stream. This will also enhance your software structure by 
> allowing your dear customers to ask for more of such 
> functionality, which could be handled in a separate module. 
> You could then leave iText to do the printing. Nice way to 
> keep the developer and clients happy ;-) 
> 
> 
> On 12/21/05, dark <[EMAIL PROTECTED]> wrote:
> 
>       I have received a little difficult request from our customer.
> 
>        
> 
>       What they want is followings;
> 
>        They want that the thickness of all PDF lines which 
> color is a specific color is changed.
> 
>       For examples, a drawing (like AutoCAD dwg format) has 
> three layer; All lines on the first layer is green, second is 
> red and third is blue. When this drawing is converted to PDF, 
> the thickness of all green lines must be 0.1mm, all red lines 
> must be 0.2mm and all red lines must be 0.3mm.
> 
>        
> 
>       I think that it is impossible or very difficult to 
> change line properties directly in printing a drawing by PDF 
> Printer driver.
> 
>       Therefore, I am investigating whether it is possible to 
> change the thickness of all lines with a specific color in 
> the already created PDF file. I think that the starting point 
> is PDFStamper and PDFContentsByte but I am wandering because 
> my iText experience is short.
> 
>        
> 
>       If it is impossible, I must find another method; for 
> examples, convert PDF to PS and edit PostScript strings directly.
> 
>        
> 
>       If you could take a few minutes to answer my questions, 
> I would really appreciate it. 
> 
>       Thank you in advance for your help and iText is the best!
> 
>        
> 
>       Best regards,
> 
>       S. H. Park
> 
> 
> 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to