Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] Issue with Font Names firstLineIndent ,
 spacingbefore, spacingaafter in Csharp

noel fernandes

2006-06-21


hi

When i try to apply Font Names, firstLineIndent ,
spacingbefore,spacingaafter attributes to a paragraph
there are no changes.I am using itexsharp library
i have attached the file and code thru which i tried
to see the effect

Testing.xml conatins the xml data

and code.txt contains the c# code

thank you
regards
noel


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
<?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE ITEXT SYSTEM 'http://itext.sourceforge.net/itext.dtd'>
<itext>

<paragraph leading='18.0' font='unknown' align='Default' spacingbefore='50.0' >This is the unknown</paragraph>

<paragraph leading='18.0' font='arial' align='Default' spacingbefore='50.0' >This is the arial</paragraph>

<paragraph leading='18.0' font='courier' align='Default' spacingbefore='50.0' >This is Courier</paragraph>

<paragraph leading='18.0' font='Helvetica' align='Default' spacingbefore='50.0' firstlineindent='40'>This is Helvetica</paragraph>



</itext>
Document document = new Document();
       PdfWriter.GetInstance(document, new FileStream("testing.pdf", FileMode.Create));
       XmlParser.Parse(document, "testing.xml");
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
©2008 junlu.com - Jax Systems, LLC, U.S.A.