pdfresetaction-ag凯发旗舰厅
com.spire.pdf.actions
class pdfresetaction
java.lang.object
com.spire.pdf.actions.pdfaction
com.spire.pdf.actions.pdfformaction
com.spire.pdf.actions.pdfresetaction
- all implemented interfaces:
- ipdfwrapper
public class pdfresetaction
- extends pdfformaction
represents pdf form's reset action.
- see also:
this action allows a user to reset the form fields to their default values.
constructor summary |
pdfresetaction()
initializes a new instance of the class. |
method summary |
boolean |
getinclude()
gets or sets a value indicating whether fields contained in fields
collection will be included for resetting. |
void |
setfields(pdffieldcollection pdffieldcollection)
sets the fields will be affected. |
void |
setinclude(boolean value)
sets a value indicating whether fields contained in
collection will be included for resetting or submitting. |
pdfresetaction
public pdfresetaction()
- initializes a new instance of the class.
getinclude
public boolean getinclude()
- gets or sets a value indicating whether fields contained in fields
collection will be included for resetting.
- overrides:
getinclude
in class pdfformaction
setinclude
public void setinclude(boolean value)
- description copied from class:
pdfformaction
- sets a value indicating whether fields contained in
collection will be included for resetting or submitting.
if include property is true, only the fields in this collection will be reset or submitted.
if include property is false, the fields in this collection are not reset or submitted
and only the remaining form fields are reset or submitted.
if the collection is null or empty, then all the form fields are reset
and the include property is ignored.
- overrides:
setinclude
in class pdfformaction
setfields
public void setfields(pdffieldcollection pdffieldcollection)
- sets the fields will be affected.
- overrides:
setfields
in class pdfformaction
- parameters:
pdffieldcollection
- the fields collection