Re: [iText-questions] Location of MultiColumnText

2005-04-27 Thread Steve Appling
Add something else before it to take up the space - like an empty paragraph with the leading set to 
the space you want.
- Original Message - 
From: "Nandu" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, April 27, 2005 2:04 AM
Subject: [iText-questions] Location of MultiColumnText


Hi,
How do I position MultiColumnText at a desired location on the page. The code
shown below creates a mct of certain height and has two columns. This code
results in the mct object placed at the beginning of the page. But I want this
mct object to be added a certain location (y-position) on the page.
// Code
float height = ...
MultiColumnText mct = new MultiColumnText(height);
float[] left1 = ...
float[] right1 = ...
mct.addColumn(left1, right1);
float[] left2 = ...
float[] right2 = ...
mct.addColumn(left2, right2);
mct.addElement(...)
document.add(mct);
Thanks,
Nandu

---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Location of MultiColumnText

2005-04-27 Thread Nandu
Hi,

How do I position MultiColumnText at a desired location on the page. The code
shown below creates a mct of certain height and has two columns. This code
results in the mct object placed at the beginning of the page. But I want this
mct object to be added a certain location (y-position) on the page. 

// Code
float height = ...
MultiColumnText mct = new MultiColumnText(height);
float[] left1 = ...
float[] right1 = ...
mct.addColumn(left1, right1);
float[] left2 = ...
float[] right2 = ...
mct.addColumn(left2, right2);
mct.addElement(...)
document.add(mct);

Thanks,
Nandu




---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions