----- Original Message -----
From: "Chris Miller" <[EMAIL PROTECTED]>
To: <[email protected]>
Cc: "Paulo Soares" <[EMAIL PROTECTED]>
Sent: Tuesday, September 13, 2005 9:14 PM
Subject: [iText-questions] using setExtraMargin() with an existing form
field
> Thanks for implementing the setExtraMargin() method. I got the latest CVS,
and have already built the JAR and got everything working, now I need to
implement the change in my software....
>
> How can I use setField() in conjunction with setExtraMargin() to add a top
margin to the text field?
The javadoc:
/**
* Sets extra margins in text fields to better mimic the Acrobat layout.
* @param extraMarginLeft the extra marging left
* @param extraMarginTop the extra margin top
*/
public void setExtraMargin(float extraMarginLeft, float extraMarginTop)
{
After that you call setField().
>
> Currently I cycle through the fields and fill them with the proper
value...
> form1.setField(fieldtitle,"fieldvalue");
>
> How can I use setExtraMargin to add the appropriate top margin to an
EXISTING field?
> Does this involve appearances? will I have to recreate the field
altogether (god i hope not)
>
You'll have to recreate them.
> Please advise.
>
> Thanks,
> Chris Miller
>
>
> -----------------------------------------------
> Chris Miller - President/CEO
> AdSoft Direct, Inc.
> Office: (925) 251-0566
> Cell: (510) 504-5006
> 4780 Chabot Drive, Ste #120
> Pleasanton, CA 94588
> -----------------------------------------------
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server.
> Download it for free - -and be entered to win a 42" plasma tv or your very
> own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions