How to save the detected field's region as a picture?
In Document Definition Editor -> right-click on the select the field -> Properties... -> Rules tab -> New Rule... -> Script -> Edit... -> and paste this content:
Context.Field("DeliveryAddress").Regions.Picture.SaveAs("c:\\temp\\" + Context.Field("DeliveryAddress").Name.ToString() + ".jpg");
Then once the input image matches to the DocDef, FC will automatically save the field's region as the picture in the local drive that you specified.
Please sign in to leave a comment.