FormFlatt |
ยท FormFlatt( nField ) => will flatt the specified form field into the pdf.
nField (numeric) : is the form field number, equivalent to the element number within the array returned by FormGet().
This method will flatten the field into the PDF, meaning it will no longer be a editable form field, and the contents (if any) will be fixed to that position in the file. Once the field is flattened, it will no longer exist, and all subsequent field numbers will be decreased by 1, so the corresponded element in the fields array returned by FormGet() will no longer be valid, and that element should be removed from the array with aDel() or any other method.
Examples : oPdf:FormFlatt( 10 ) will flatten the 10th field of the pdf, engraving its contents into the file, any other field after this on will have its number decreased, so the 11th field will become the 10th.