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

FormEditor::AddField(FieldType, 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, System::String fieldName, int32_t pageNum, float llx, float lly, float urx, float ury)
ParameterTypeDescription
fieldTypeFieldTypeType of the field which must be added.
fieldNameSystem::StringName 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

FormEditor::AddField(FieldType, System::String, 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, System::String fieldName, System::String initValue, int32_t pageNum, float llx, float lly, float urx, float ury)
ParameterTypeDescription
fieldTypeFieldTypeType of the field which must be added.
fieldNameSystem::StringName of the field whic must be added.
initValueSystem::StringInitial 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