Form.HasField
Contents
[
Hide
]HasField(Field)
Check if the form already has specified field.
public bool HasField(Field field)
Parameter | Type | Description |
---|---|---|
field | Field | Field to check. |
Return Value
true
if the specified field name added to Form; otherwise, false
.
See Also
- class Field
- class Form
- namespace Aspose.Pdf.Forms
- assembly Aspose.PDF
HasField(string)
Determines if the field with specified name already added to the Form.
public bool HasField(string fieldName)
Parameter | Type | Description |
---|---|---|
fieldName | String | PartialName or FullName of the field. |
Return Value
true
if the specified field name added to Form; otherwise, false
.
See Also
- class Form
- namespace Aspose.Pdf.Forms
- assembly Aspose.PDF
HasField(string, bool)
Determines if the field with specified name already added to the Form, with ability to look into children hierarchy of fields.
public bool HasField(string fieldName, bool searchChildren)
Parameter | Type | Description |
---|---|---|
fieldName | String | PartialName or FullName of the field. |
searchChildren | Boolean | When set to true the whole hierarchy of form fields would be searched for the requested fieldName (note that in this case the FullName of the required field should be passed as fieldName). |
Return Value
true
if the specified field name added to Form; otherwise, false
.
See Also
- class Form
- namespace Aspose.Pdf.Forms
- assembly Aspose.PDF