|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.pdf.fields.pdffield
com.spire.pdf.fields.pdfstyledfield
com.spire.pdf.fields.pdfappearancefield
com.spire.pdf.fields.pdftextboxfield
public class pdftextboxfield
represents text box field in the pdf form.
constructor summary | |
---|---|
pdftextboxfield()
|
|
pdftextboxfield(pdfpagebase page,
java.lang.string name)
initializes a new instance of the class. |
method summary | |
---|---|
java.lang.string |
getdefaultvalue()
gets the default value. |
boolean |
getinsertspaces()
meaningful only if the maxlength property is set and the multiline, password properties are false. |
int |
getmaxlength()
gets the maximum number of characters that can be entered in the text box. |
boolean |
getmultiline()
gets a value indicating whether this is multiline. |
boolean |
getpassword()
gets a value indicating whether this is password field. |
|
getpdfformfieldtextalignment()
gets pdftextalignment |
boolean |
getrequired()
gets a value indicating whether this is required. |
boolean |
getscrollable()
gets a value indicating whether this is scrollable. |
boolean |
getspellcheck()
gets a value indicating whether to check spelling. |
java.lang.string |
gettext()
gets the text. |
void |
setdefaultvalue(java.lang.string value)
sets the default value. |
void |
setfont(pdffontbase value)
sets the font |
void |
setinsertspaces(boolean value)
meaningful only if the maxlength property is set and the multiline, password properties are false. |
void |
setmaxlength(int value)
sts the maximum number of characters that can be entered in the text box. |
void |
setmultiline(boolean value)
sets a value indicating whether this is multiline. |
void |
setpassword(boolean value)
sets a value indicating whether this is password field. |
void |
setrequired(boolean value)
sets a value indicating whether this is required. |
void |
setscrollable(boolean value)
sets a value indicating whether this is scrollable. |
void |
setspellcheck(boolean value)
sets a value indicating whether to check spelling. |
void |
settext(java.lang.string value)
sets the text. |
void |
settextalignment( pdfformfieldtextalignment)
sets textalignment |
methods inherited from class com.spire.pdf.fields.pdfstyledfield |
---|
getactions, getbackcolor, getborderstyle, getborderwidth, getbounds, getforecolor, getlocation, getsize, gettextalignment, getvisible, setbackcolor, setbordercolor, setborderstyle, setborderwidth, setbounds, setforecolor, setlocation, setsize, settextalignment, setvisible |
methods inherited from class com.spire.pdf.fields.pdffield |
---|
getexport, getflatten, getform, getmappingname, getname, getpage, getreadonly, gettooltip, setexport, setflatten, setreadonly, settooltip |
methods inherited from interface com.spire.pdf.widget.ipdftextboxfield |
---|
getname |
constructor detail |
---|
public pdftextboxfield(pdfpagebase page, java.lang.string name)
page
- page which the field to be placed on.name
- the name of the text box field.public pdftextboxfield()
method detail |
---|
public getpdfformfieldtextalignment()
public void settextalignment( pdfformfieldtextalignment)
pdfformfieldtextalignment
- the pdfformfieldtextalignment enumpublic java.lang.string gettext()
public void settext(java.lang.string value)
public boolean getrequired()
getrequired
in class pdffield
public void setrequired(boolean value)
setrequired
in class pdffield
value
- boolean valuepublic void setfont(pdffontbase value)
setfont
in class pdfstyledfield
value
- pdffontbasepublic java.lang.string getdefaultvalue()
public void setdefaultvalue(java.lang.string value)
public boolean getspellcheck()
public void setspellcheck(boolean value)
public boolean getinsertspaces()
public void setinsertspaces(boolean value)
public boolean getmultiline()
public void setmultiline(boolean value)
public boolean getpassword()
public void setpassword(boolean value)
public boolean getscrollable()
public void setscrollable(boolean value)
public int getmaxlength()
public void setmaxlength(int value)
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |