Aspose::Pdf::Facades::FormEditor::AddField method

FormEditor::AddField(FieldType, const System::String&, const System::String&, int32_t, float, float, float, float) method

Add field of specified type to the form.

bool Aspose::Pdf::Facades::FormEditor::AddField(FieldType fieldType, const System::String &fieldName, const System::String &initValue, int32_t pageNum, float llx, float lly, float urx, float ury)
ParameterTypeDescription
fieldTypeFieldTypeType of the field which must be added.
fieldNameconst System::String&Name of the field whic must be added.
initValueconst System::String&Initial value of the field.
pageNumint32_tPage number where new field must be placed.
llxfloatAbscissa of the lower-left corner of the field.
llyfloatOrdinate of the lower-left corner of the field.
urxfloatAbscissa of the upper-right corner of the field.
uryfloatOrdinate of the upper-right corner of the field.

ReturnValue

true if field was successfully added.

Remarks

///

See Also

FormEditor::AddField(FieldType, const System::String&, int32_t, float, float, float, float) method

Add field of specified type to the form.

bool Aspose::Pdf::Facades::FormEditor::AddField(FieldType fieldType, const System::String &fieldName, int32_t pageNum, float llx, float lly, float urx, float ury)
ParameterTypeDescription
fieldTypeFieldTypeType of the field which must be added.
fieldNameconst System::String&Name of the field whic must be added.
pageNumint32_tPage number where new field must be placed.
llxfloatAbscissa of the lower-left corner of the field.
llyfloatOrdinate of the lower-left corner of the field.
urxfloatAbscissa of the upper-right corner of the field.
uryfloatOrdinate of the upper-right corner of the field.

ReturnValue

true if field was successfully added.

See Also