On 2/11/2010 10:42, wowarjuna wrote:
>
> Does the following sequence is correct?

No, your attempt wasn't correct.
You want to use ColumnText, so you don't need:
cb.SetFontAndSize(bf, 10);
cb.ShowText("Para");
That just doesn't make sense...

>   PdfStructureElement p = new PdfStructureElement(root, PdfName.P);
>
>                   Paragraph _para = new Paragraph(@"...");
>                   _column.AddElement(_para);
>
cb.BeginMarkedContentSequence(p);
>                    _column.Go();
cb.EndMarkedContentSequence(p);

-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to